X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-rfc7950%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fstmt%2FListTest.java;h=2a4c44ca761e2028adb587176f9b09f4ff0680ff;hb=84042e088ccb7b75e52bb3edc3dbb63af1d119df;hp=c8479e0b77d315d1bf78ee866244775d63fcb02f;hpb=223f7753e408b981b0f077d14ede44b8037425c8;p=yangtools.git diff --git a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/ListTest.java b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/ListTest.java index c8479e0b77..2a4c44ca76 100644 --- a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/ListTest.java +++ b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/ListTest.java @@ -5,7 +5,6 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.yangtools.yang.stmt; import static org.junit.Assert.assertEquals; @@ -52,8 +51,8 @@ public class ListTest { assertEquals("key2", keys.get(1).getLocalName()); ElementCountConstraint constraint = list.getElementCountConstraint().get(); - assertEquals(1, constraint.getMinElements().intValue()); - assertEquals(10, constraint.getMaxElements().intValue()); + assertEquals((Object) 1, constraint.getMinElements()); + assertEquals((Object) 10, constraint.getMaxElements()); assertEquals(5, list.getChildNodes().size());