Skip to content

Commit 0eda6ba

Browse files
committed
support ipv4 address
1 parent 6307e56 commit 0eda6ba

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/test/java/org/xbill/DNS/AAAARecordTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,9 @@ void ctor_4arg() {
8787
}
8888

8989
@Test
90-
void ctor_v4() {
91-
try {
90+
void ctor_v4() throws UnknownHostException {
9291
AAAARecord ar = new AAAARecord(m_an, DClass.IN, m_ttl, InetAddress.getByName("192.168.1.1"));
9392
assertEquals("::ffff:192.168.1.1", ar.rrToString());
94-
} catch (UnknownHostException ignore) {
95-
96-
}
9793
}
9894

9995
@Test

0 commit comments

Comments
 (0)