zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] enixon commented on a change in pull request #1049: ZOOKEEPER-3475 Enable Checkstyle configuration on zookeeper-server
Date Sun, 11 Aug 2019 19:54:56 GMT
enixon 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_r312751179
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/EphemeralType.java
 ##########
 @@ -176,7 +166,8 @@ public static EphemeralType get(long ephemeralOwner) {
                 long extendedFeatureBit = getExtendedFeatureBit(ephemeralOwner);
                 EphemeralType ephemeralType = extendedFeatureMap.get(extendedFeatureBit);
                 if (ephemeralType == null) {
-                    throw new IllegalArgumentException(String.format("Invalid ephemeralOwner.
[%s]", Long.toHexString(ephemeralOwner)));
+                    throw new IllegalArgumentException(
+                            String.format("Invalid ephemeralOwner. [%s]", Long.toHexString(ephemeralOwner)));
 
 Review comment:
   Would be great to add the `0x`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message