Enable checkstyle check for blocks without braces.

Enable the checkstyle rule to check for block statements
without curly braces and fix any violations it finds.

Change-Id: Id4c58cea26f0d9ce7ed78643a4943c042886a12d
diff --git a/src/main/java/net/onrc/onos/core/topology/NetworkGraphImpl.java b/src/main/java/net/onrc/onos/core/topology/NetworkGraphImpl.java
index a60e390..d28e8bb 100644
--- a/src/main/java/net/onrc/onos/core/topology/NetworkGraphImpl.java
+++ b/src/main/java/net/onrc/onos/core/topology/NetworkGraphImpl.java
@@ -71,8 +71,9 @@
     @Override
     public Link getLink(Long dpid, Long number) {
         Port srcPort = getPort(dpid, number);
-        if (srcPort == null)
+        if (srcPort == null) {
             return null;
+        }
         return srcPort.getOutgoingLink();
     }
 
@@ -80,12 +81,15 @@
     public Link getLink(Long srcDpid, Long srcNumber, Long dstDpid,
                         Long dstNumber) {
         Link link = getLink(srcDpid, srcNumber);
-        if (link == null)
+        if (link == null) {
             return null;
-        if (!link.getDstSwitch().getDpid().equals(dstDpid))
+        }
+        if (!link.getDstSwitch().getDpid().equals(dstDpid)) {
             return null;
-        if (!link.getDstPort().getNumber().equals(dstNumber))
+        }
+        if (!link.getDstPort().getNumber().equals(dstNumber)) {
             return null;
+        }
         return link;
     }
 
@@ -134,8 +138,9 @@
             Set<Device> devices = addr2Device.get(ipAddr);
             if (devices != null) {
                 devices.remove(device);
-                if (devices.isEmpty())
+                if (devices.isEmpty()) {
                     addr2Device.remove(ipAddr);
+                }
             }
         }
     }