Adjust to yangtools-2.0.0 changes
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / test / java / org / opendaylight / mdsal / binding / java / api / generator / LengthGeneratorTest.java
index 8fa3df0d9f1a5c7bf191a827afde98828579c8e7..b04c67a06dc747781638c45ab25bedda9afb5c1d 100644 (file)
@@ -9,13 +9,12 @@ package org.opendaylight.mdsal.binding.java.api.generator;
 
 import java.lang.reflect.Constructor;
 import org.junit.Test;
-import org.opendaylight.mdsal.binding.java.api.generator.LengthGenerator;
 
 public class LengthGeneratorTest {
 
     @Test(expected = UnsupportedOperationException.class)
     public void constructTest() throws Throwable {
-        final Constructor constructor = LengthGenerator.class.getDeclaredConstructor();
+        final Constructor<LengthGenerator> constructor = LengthGenerator.class.getDeclaredConstructor();
         constructor.setAccessible(true);
         try {
             constructor.newInstance();