Change mapping of uint{8,16,32,64}
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / mdsal / binding / generator / impl / GenerateInnerClassForBitsAndUnionInLeavesTest.java
index d4f358579f53fe191fa7b846e5d6a30208e11a56..e00845356d7b972b1d27419ccb7b31120507fb2f 100644 (file)
@@ -102,7 +102,7 @@ public class GenerateInnerClassForBitsAndUnionInLeavesTest {
                                         }
                                     } else if (unionLeafProperty.getName().equals("uint8")) {
                                         uint8UnionPropertyFound = true;
-                                        if (unionLeafPropertyType.equals("Short")) {
+                                        if (unionLeafPropertyType.equals("Uint8")) {
                                             uint8UnionPropertyTypeOK = true;
                                         }
                                     }