You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2016/08/31 07:08:43 UTC

hbase git commit: HBASE-16535 Use regex to exclude generated classes for findbugs

Repository: hbase
Updated Branches:
  refs/heads/master 647a65ce0 -> 1da0a48f6


HBASE-16535 Use regex to exclude generated classes for findbugs


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

Branch: refs/heads/master
Commit: 1da0a48f6b782d9428057496383ded89f1773956
Parents: 647a65c
Author: zhangduo <zh...@apache.org>
Authored: Wed Aug 31 12:01:14 2016 +0800
Committer: zhangduo <zh...@apache.org>
Committed: Wed Aug 31 14:42:32 2016 +0800

----------------------------------------------------------------------
 dev-support/findbugs-exclude.xml | 24 ++----------------------
 1 file changed, 2 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1da0a48f/dev-support/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/dev-support/findbugs-exclude.xml b/dev-support/findbugs-exclude.xml
index 4d17582..37d5746 100644
--- a/dev-support/findbugs-exclude.xml
+++ b/dev-support/findbugs-exclude.xml
@@ -16,36 +16,16 @@
 -->
 
 <FindBugsFilter>
+  <!-- Nested packages are not included by the Package filter, so we need a regexp... -->
   <Match>
-    <Package name="org.apache.hadoop.hbase.thrift2.generated"/>
+    <Class name="~.*\.generated\..*"/>
   </Match>
 
   <Match>
-    <Package name="org.apache.hadoop.hbase.thrift.generated"/>
-  </Match>
-
-  <Match>
-    <Package name="org.apache.hadoop.hbase.rest.protobuf.generated"/>
-  </Match>
-
-  <Match>
-    <Package name="org.apache.hadoop.hbase.protobuf.generated"/>
-  </Match>
-
-  <Match>
-    <Package name="org.apache.hadoop.hbase.coprocessor.example.generated"/>
-  </Match>
-
-  <Match>
-    <!-- Nested packages are not included by the filter, so we need a regexp... -->
     <Package name="~org\.apache\.hadoop\.hbase\.tmpl\..*"/>
   </Match>
 
   <Match>
-    <Package name="~org\.apache\.hadoop\.hbase\.generated\..*"/>
-  </Match>
-
-  <Match>
     <Class name="org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost"/>
     <Or>
       <Method name="preExists"/>