mirror of
https://github.com/google/nomulus
synced 2026-09-20 06:54:43 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -94,12 +94,12 @@ public class DomainResourceToXjcConverterTest {
|
||||
private final FakeClock clock = new FakeClock(now);
|
||||
|
||||
@Before
|
||||
public void before() throws Exception {
|
||||
public void before() {
|
||||
createTld("xn--q9jyb4c");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConvertThick() throws Exception {
|
||||
public void testConvertThick() {
|
||||
XjcRdeDomain bean =
|
||||
DomainResourceToXjcConverter.convertDomain(makeDomainResource(clock), RdeMode.FULL);
|
||||
|
||||
@@ -182,7 +182,7 @@ public class DomainResourceToXjcConverterTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConvertThin() throws Exception {
|
||||
public void testConvertThin() {
|
||||
XjcRdeDomain bean =
|
||||
DomainResourceToXjcConverter.convertDomain(makeDomainResource(clock), RdeMode.THIN);
|
||||
assertThat(bean.getRegistrant()).isNull();
|
||||
@@ -204,7 +204,7 @@ public class DomainResourceToXjcConverterTest {
|
||||
wrapDeposit(bean).marshal(new ByteArrayOutputStream(), UTF_8);
|
||||
}
|
||||
|
||||
public XjcRdeDeposit wrapDeposit(XjcRdeDomain domain) throws Exception {
|
||||
public XjcRdeDeposit wrapDeposit(XjcRdeDomain domain) {
|
||||
XjcRdeDeposit deposit = new XjcRdeDeposit();
|
||||
deposit.setId("984302");
|
||||
deposit.setType(XjcRdeDepositTypeType.FULL);
|
||||
|
||||
Reference in New Issue
Block a user