Fix CS warnings in sal-clustering-commons and enable enforcement
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / NormalizedNodeGetter.java
index 20529996f89f8aa269bcb1d32036096921b3ee18..e1e7b9f684b625e859e3b8651104d2d0cccd62fa 100644 (file)
@@ -16,21 +16,21 @@ public class NormalizedNodeGetter implements
     private final String path;
     NormalizedNode<?, ?> output;
 
-    public NormalizedNodeGetter(String path){
+    public NormalizedNodeGetter(String path) {
         Preconditions.checkNotNull(path);
         this.path = path;
     }
 
     @Override
     public void visitNode(int level, String parentPath, NormalizedNode<?, ?> normalizedNode) {
-        String nodePath = parentPath + "/"+ PathUtils.toString(normalizedNode.getIdentifier());
+        String nodePath = parentPath + "/" + PathUtils.toString(normalizedNode.getIdentifier());
 
-        if(nodePath.toString().equals(path)){
+        if (nodePath.toString().equals(path)) {
             output = normalizedNode;
         }
     }
 
-    public NormalizedNode<?, ?> getOutput(){
+    public NormalizedNode<?, ?> getOutput() {
         return output;
     }
 }