mirror of
https://github.com/google/nomulus.git
synced 2025-08-04 00:42:12 +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
|
@ -55,7 +55,7 @@ public class IcannHttpReporterTest {
|
|||
private MockHttpTransport createMockTransport (final ByteSource iirdeaResponse) {
|
||||
return new MockHttpTransport() {
|
||||
@Override
|
||||
public LowLevelHttpRequest buildRequest(String method, String url) throws IOException {
|
||||
public LowLevelHttpRequest buildRequest(String method, String url) {
|
||||
mockRequest = new MockLowLevelHttpRequest() {
|
||||
@Override
|
||||
public LowLevelHttpResponse execute() throws IOException {
|
||||
|
@ -123,7 +123,7 @@ public class IcannHttpReporterTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_invalidFilename_nonSixDigitYearMonth() throws Exception {
|
||||
public void testFail_invalidFilename_nonSixDigitYearMonth() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
@ -139,7 +139,7 @@ public class IcannHttpReporterTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_invalidFilename_notActivityOrTransactions() throws Exception {
|
||||
public void testFail_invalidFilename_notActivityOrTransactions() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
@ -154,7 +154,7 @@ public class IcannHttpReporterTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_invalidFilename_invalidTldName() throws Exception {
|
||||
public void testFail_invalidFilename_invalidTldName() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
@ -170,7 +170,7 @@ public class IcannHttpReporterTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testFail_invalidFilename_tldDoesntExist() throws Exception {
|
||||
public void testFail_invalidFilename_tldDoesntExist() {
|
||||
IllegalArgumentException thrown =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue