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/registry/ZookeeperRegistry.java b/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
index 4a0917e..496ae45 100755
--- a/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
+++ b/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
@@ -638,8 +638,9 @@
         do {
             try {
                 Participant leader = clusterLeaderLatch.getLeader();
-                if (!leader.getId().isEmpty())
+                if (!leader.getId().isEmpty()) {
                     break;
+                }
                 Thread.sleep(CLUSTER_LEADER_ELECTION_RETRY_MS);
             } catch (Exception e) {
                 log.error("Error on startup waiting for cluster leader election: {}", e.getMessage());