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 / IpAddressNoZoneBuilderTest.java
index 30de24fce9b796ac4eb0ad14c16b76eef127b615..c00103b0ea926faafa77c9672398dca4eab22eb2 100644 (file)
@@ -19,10 +19,10 @@ public class IpAddressNoZoneBuilderTest {
 
     @Test
     public void testGetDefaultInstance() throws Exception {
-        final Constructor constructor = IpAddressNoZoneBuilder.class.getDeclaredConstructor();
+        final Constructor<IpAddressNoZoneBuilder> constructor = IpAddressNoZoneBuilder.class.getDeclaredConstructor();
         assertFalse(constructor.isAccessible());
         constructor.setAccessible(true);
-        final IpAddressNoZoneBuilder newInstance = (IpAddressNoZoneBuilder) constructor.newInstance();
+        final IpAddressNoZoneBuilder newInstance = constructor.newInstance();
         assertNotNull(newInstance);
 
         testIpv4("1.1.1.1");