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