Fixing sonar issues 4
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / CompositeNodeTOImpl.java
index 5ba7ed8b3c2853c3fc2f4786a8faa2ea7e58c25f..3945fdda5ecfb0ee54aa5dcc1536aaf760ddd5aa 100644 (file)
@@ -91,8 +91,9 @@ public class CompositeNodeTOImpl extends AbstractNodeTO<List<Node<?>>> implement
         List<SimpleNode<?>> list = new ArrayList<SimpleNode<?>>();
 
         for (Node<?> node : toFilter) {
-            if (node instanceof SimpleNode<?>)
+            if (node instanceof SimpleNode<?>) {
                 list.add((SimpleNode<?>) node);
+            }
         }
         return list;
     }