mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 17:28:25 +02:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
parent
a7256f5edd
commit
5d80f124ca
377 changed files with 2297 additions and 2373 deletions
|
@ -82,7 +82,7 @@ public class SmdrlCsvParserTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testOneRow() throws Exception {
|
||||
public void testOneRow() {
|
||||
SignedMarkRevocationList smdrl = SmdrlCsvParser.parse(ImmutableList.of(
|
||||
"1,2013-11-24T23:30:04.3Z",
|
||||
"smd-id,insertion-datetime",
|
||||
|
@ -94,7 +94,7 @@ public class SmdrlCsvParserTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testEmpty() throws Exception {
|
||||
public void testEmpty() {
|
||||
SignedMarkRevocationList smdrl = SmdrlCsvParser.parse(ImmutableList.of(
|
||||
"1,2014-11-24T23:30:04.3Z",
|
||||
"smd-id,insertion-datetime"));
|
||||
|
@ -105,7 +105,7 @@ public class SmdrlCsvParserTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_badVersion() throws Exception {
|
||||
public void testFail_badVersion() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
@ -119,7 +119,7 @@ public class SmdrlCsvParserTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_badHeader() throws Exception {
|
||||
public void testFail_badHeader() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
@ -133,7 +133,7 @@ public class SmdrlCsvParserTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_tooManyColumns() throws Exception {
|
||||
public void testFail_tooManyColumns() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue