mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 03:58:34 +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
|
@ -62,7 +62,7 @@ public class DomainResourceTest extends EntityTestCase {
|
|||
DomainResource domain;
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
public void setUp() {
|
||||
createTld("com");
|
||||
Key<DomainResource> domainKey = Key.create(null, DomainResource.class, "4-COM");
|
||||
Key<HostResource> hostKey = Key.create(persistResource(
|
||||
|
@ -144,7 +144,7 @@ public class DomainResourceTest extends EntityTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testPersistence() throws Exception {
|
||||
public void testPersistence() {
|
||||
assertThat(loadByForeignKey(DomainResource.class, domain.getForeignKey(), clock.nowUtc()))
|
||||
.isEqualTo(domain);
|
||||
}
|
||||
|
@ -211,7 +211,7 @@ public class DomainResourceTest extends EntityTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testEmptyTransferDataBecomesNull() throws Exception {
|
||||
public void testEmptyTransferDataBecomesNull() {
|
||||
DomainResource withNull =
|
||||
newDomainResource("example.com").asBuilder().setTransferData(null).build();
|
||||
DomainResource withEmpty = withNull.asBuilder().setTransferData(TransferData.EMPTY).build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue