hanm commented on a change in pull request #1049: ZOOKEEPER-3475 Enable 
Checkstyle configuration on zookeeper-server
URL: https://github.com/apache/zookeeper/pull/1049#discussion_r314573903
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/Watcher.java
 ##########
 @@ -35,34 +35,33 @@
      * This interface defines the possible states an Event may represent
      */
     @InterfaceAudience.Public
-    public interface Event {
+    interface Event {
+
         /**
          * Enumeration of states the ZooKeeper may be at the event
          */
         @InterfaceAudience.Public
-        public enum KeeperState {
+        enum KeeperState {
             /** Unused, this state is never generated by the server */
-            @Deprecated
-            Unknown (-1),
+            @Deprecated Unknown(-1),
 
 Review comment:
   Is this intended that we want to put annotation and annotated in the same 
line?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to