mirror of
https://github.com/google/nomulus
synced 2026-08-28 03:46:30 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -77,7 +77,7 @@ public class LockDomainCommandTest extends EppToolCommandTestCase<LockDomainComm
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_domainDoesntExist() throws Exception {
|
||||
public void testFailure_domainDoesntExist() {
|
||||
IllegalArgumentException e =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
@@ -105,7 +105,7 @@ public class LockDomainCommandTest extends EppToolCommandTestCase<LockDomainComm
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_duplicateDomainsAreSpecified() throws Exception {
|
||||
public void testFailure_duplicateDomainsAreSpecified() {
|
||||
IllegalArgumentException e =
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
|
||||
Reference in New Issue
Block a user