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%2FBug9244Test.java;h=2f959bb5b62e133a8741dbc8beb981c7bb30394b;hb=84042e088ccb7b75e52bb3edc3dbb63af1d119df;hp=768183cd217e7a64547255727f60e690cdc4bd44;hpb=223f7753e408b981b0f077d14ede44b8037425c8;p=yangtools.git diff --git a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug9244Test.java b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug9244Test.java index 768183cd21..2f959bb5b6 100644 --- a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug9244Test.java +++ b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug9244Test.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; @@ -40,8 +39,8 @@ public class Bug9244Test { QName.create(barModule.getQNameModule(), "bar-leaf-list")); assertNotNull(barLeafList); final ElementCountConstraint constraint = barLeafList.getElementCountConstraint().get(); - assertEquals(5, constraint.getMinElements().intValue()); - assertEquals(10, constraint.getMaxElements().intValue()); + assertEquals((Object) 5, constraint.getMinElements()); + assertEquals((Object) 10, constraint.getMaxElements()); final LeafSchemaNode barLeaf = (LeafSchemaNode) barModule.getDataChildByName( QName.create(barModule.getQNameModule(), "bar-leaf"));