You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ra...@apache.org on 2017/06/19 10:28:20 UTC

zookeeper git commit: ZOOKEEPER-2730: Cleanup findbug warnings in branch-3.4: Disable Internationalization Warnings

Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.4 83e0ab896 -> b3e514659


ZOOKEEPER-2730: Cleanup findbug warnings in branch-3.4: Disable Internationalization Warnings

…stematic manner

Author: gosubpl <gi...@gosub.pl>

Reviewers: Michael Han <ha...@apache.org>, Rakesh Radhakrishnan <ra...@apache.org>

Closes #285 from gosubpl/ZOOKEEPER-2730


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/b3e51465
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/b3e51465
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/b3e51465

Branch: refs/heads/branch-3.4
Commit: b3e514659393837a6e824038463c0a98efff2fdb
Parents: 83e0ab8
Author: Janek P <gi...@gosub.pl>
Authored: Sun Jun 18 21:58:42 2017 -0700
Committer: Rakesh Radhakrishnan <ra...@apache.org>
Committed: Sun Jun 18 21:58:42 2017 -0700

----------------------------------------------------------------------
 src/java/test/config/findbugsExcludeFile.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/b3e51465/src/java/test/config/findbugsExcludeFile.xml
----------------------------------------------------------------------
diff --git a/src/java/test/config/findbugsExcludeFile.xml b/src/java/test/config/findbugsExcludeFile.xml
index f19bec2..f1bb79d 100644
--- a/src/java/test/config/findbugsExcludeFile.xml
+++ b/src/java/test/config/findbugsExcludeFile.xml
@@ -150,4 +150,12 @@
     <Class name="org.apache.zookeeper.ZooDefs$Ids"/>
       <Bug pattern="MS_MUTABLE_COLLECTION" />
   </Match>
+
+  <!-- Disable 'Found reliance on default encoding in' warnings. Ideally this should be fixed
+       by fixing the underlying cause - reliance on 'default' encoding in IO operations.
+       Please see ZOOKEEPER-1976 for detailed discussion. -->
+  <Match>
+    <Bug pattern="DM_DEFAULT_ENCODING" />
+  </Match>
+
 </FindBugsFilter>