[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/102 ZOOKEEPER-2628: Fix findbug warnings. This PR fixed 19 find bug warnings except this one, which might require interface change that potentially could break client side apps. Malicious code

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86885871 --- Diff: src/java/main/org/apache/jute/compiler/CGenerator.java --- @@ -61,70 +61,88 @@ void genCode() throws IOException { + out

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread breed
Github user breed commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86902396 --- Diff: src/java/main/org/apache/jute/compiler/CGenerator.java --- @@ -61,70 +61,88 @@ void genCode() throws IOException { + ou

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread breed
Github user breed commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86902626 --- Diff: src/java/main/org/apache/zookeeper/cli/DeleteCommand.java --- @@ -59,11 +59,6 @@ private void retainCompatibility(String[] cmdArgs) throws CliParse

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread breed
Github user breed commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86903124 --- Diff: src/java/main/org/apache/zookeeper/version/util/VerGen.java --- @@ -93,6 +93,14 @@ public static void generateFile(File outputDir, Version version,

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86905102 --- Diff: src/java/main/org/apache/jute/compiler/CGenerator.java --- @@ -61,70 +61,88 @@ void genCode() throws IOException { + out

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-07 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r86905174 --- Diff: src/java/main/org/apache/zookeeper/version/util/VerGen.java --- @@ -93,6 +93,14 @@ public static void generateFile(File outputDir, Version version,

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-08 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87027160 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumHierarchical.java --- @@ -344,9 +345,10 @@ public boolean containsQuorum(Set se

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-08 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87026194 --- Diff: src/java/main/org/apache/zookeeper/version/util/VerGen.java --- @@ -50,10 +50,8 @@ public static void generateFile(File outputDir, Version versi

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-08 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87027302 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumHierarchical.java --- @@ -344,9 +345,10 @@ public boolean containsQuorum(Set se

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-08 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87028116 --- Diff: src/java/main/org/apache/zookeeper/server/DataTree.java --- @@ -1293,13 +1293,12 @@ public synchronized WatchesSummary getWatchesSummary() {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-08 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87038798 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -141,109 +141,128 @@ public String genCsharpWriteWrapper(String fname, String tag) {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-09 Thread lvfangmin
Github user lvfangmin commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87265113 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -151,9 +153,13 @@ */ public final static in

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-09 Thread lvfangmin
Github user lvfangmin commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87264725 --- Diff: src/java/main/org/apache/zookeeper/server/DataTree.java --- @@ -1293,13 +1293,12 @@ public synchronized WatchesSummary getWatchesSummary() {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-10 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r87466839 --- Diff: src/java/main/org/apache/zookeeper/server/DataTree.java --- @@ -1293,13 +1293,12 @@ public synchronized WatchesSummary getWatchesSummary() {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-15 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/102 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-15 Thread hanm
GitHub user hanm reopened a pull request: https://github.com/apache/zookeeper/pull/102 ZOOKEEPER-2628: Fix findbug warnings. This PR fixed 19 find bug warnings except this one, which might require interface change that potentially could break client side apps. Malicious cod

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89284431 --- Diff: src/java/test/config/findbugsExcludeFile.xml --- @@ -144,4 +144,10 @@ +

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89285632 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -576,174 +580,174 @@ public void genCsharpCode(File outputDirectory) throws IOException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89283699 --- Diff: src/java/main/org/apache/zookeeper/cli/DeleteCommand.java --- @@ -56,14 +56,7 @@ public CliCommand parse(String[] cmdArgs) throws CliParseException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89283922 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -151,9 +153,13 @@ */ public final static int teln

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89264869 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -403,168 +410,165 @@ public void genJavaCode(File outputDirectory) throws IOException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread fpj
Github user fpj commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89264584 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -403,168 +410,165 @@ public void genJavaCode(File outputDirectory) throws IOException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89287398 --- Diff: src/java/test/config/findbugsExcludeFile.xml --- @@ -144,4 +144,10 @@ +

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89356018 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -576,174 +580,174 @@ public void genCsharpCode(File outputDirectory) throws IOException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89355986 --- Diff: src/java/main/org/apache/jute/compiler/JRecord.java --- @@ -403,168 +410,165 @@ public void genJavaCode(File outputDirectory) throws IOException {

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-23 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/102#discussion_r89356303 --- Diff: src/java/main/org/apache/zookeeper/cli/DeleteCommand.java --- @@ -56,14 +56,7 @@ public CliCommand parse(String[] cmdArgs) throws CliParseException

[GitHub] zookeeper pull request #102: ZOOKEEPER-2628: Fix findbug warnings.

2016-11-24 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/102 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e