Fix checkstyle if-statements must use braces in yang-data-operations 22/13622/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 14 Dec 2014 16:38:46 +0000 (11:38 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 14 Dec 2014 16:38:46 +0000 (11:38 -0500)
Change-Id: Ia51055f22e2e3bc7693f35337c6d86e3d6663531
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
yang/yang-data-operations/src/main/java/org/opendaylight/yangtools/yang/data/operations/OperationStack.java

index 33681c08d721ec165f664848fab69f41b9564a26..ef97c5d4ad9dfb50ea7bfad0eacc33475087aedb 100644 (file)
@@ -53,8 +53,9 @@ final class OperationStack {
     }
 
     private ModifyAction getOperation(NormalizedNode<?, ?> modificationNode) {
-        if (!(modificationNode instanceof AttributesContainer))
+        if (!(modificationNode instanceof AttributesContainer)) {
             return null;
+        }
 
         String operationString = ((AttributesContainer) modificationNode).getAttributes().get(OPERATION_NAME);