Add NoZone support
[mdsal.git] / model / ietf / ietf-inet-types-2013-07-15 / src / test / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / inet / types / rev130715 / IpAddressBuilderTest.java
index d12a7cd466e861bd1e2db4518c137f83850cd8b6..db91a41f0154f960b91bbcff5198942c090b2c85 100644 (file)
@@ -19,10 +19,10 @@ public class IpAddressBuilderTest {
 
     @Test
     public void testGetDefaultInstance() throws Exception {
-        final Constructor constructor = IpAddressBuilder.class.getDeclaredConstructor();
+        final Constructor<IpAddressBuilder> constructor = IpAddressBuilder.class.getDeclaredConstructor();
         assertFalse(constructor.isAccessible());
         constructor.setAccessible(true);
-        final IpAddressBuilder newInstance = (IpAddressBuilder) constructor.newInstance();
+        final IpAddressBuilder newInstance = constructor.newInstance();
         assertNotNull(newInstance);
 
         testIpv4("1.1.1.1");