Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Apply style rules on whole sal-rest-connector
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
restconf
/
impl
/
test
/
structures
/
LstItem.java
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 3617ed9fb0d897adaf654ed96f0f98967811d7d2..ae07571ad93efc192cb0c395420048e8a437631e 100644
(file)
--- 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;
package org.opendaylight.controller.sal.restconf.impl.test.structures;
import static org.junit.Assert.assertFalse;
+
import java.util.HashMap;
import java.util.Map;
import java.util.HashMap;
import java.util.Map;
@@
-57,14
+58,12
@@
public class LstItem {
}
public void addLfLst(LfLst lfLst) {
}
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) {
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);
}
lsts.put(lst.getName(), lst);
}