X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2Fstructures%2FLstItem.java;h=ae07571ad93efc192cb0c395420048e8a437631e;hp=3617ed9fb0d897adaf654ed96f0f98967811d7d2;hb=refs%2Fchanges%2F27%2F8927%2F3;hpb=cb210bea2ab44aa2922ed86232c9db9a10452fc0 diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/LstItem.java b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/LstItem.java index 3617ed9fb0..ae07571ad9 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/LstItem.java +++ b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/LstItem.java @@ -8,6 +8,7 @@ package org.opendaylight.controller.sal.restconf.impl.test.structures; import static org.junit.Assert.assertFalse; + import java.util.HashMap; import java.util.Map; @@ -57,14 +58,12 @@ public class LstItem { } public void addLfLst(LfLst lfLst) { - assertFalse( "Found multiple leaf list elements for " + lfLst.getName(), - lfLsts.containsKey( lfLst.getName() ) ); + assertFalse("Found multiple leaf list elements for " + lfLst.getName(), lfLsts.containsKey(lfLst.getName())); lfLsts.put(lfLst.getName(), lfLst); } public void addLst(Lst lst) { - assertFalse( "Found multiple list elements for " + lst.getName(), - lsts.containsKey( lst.getName() ) ); + assertFalse("Found multiple list elements for " + lst.getName(), lsts.containsKey(lst.getName())); lsts.put(lst.getName(), lst); }