hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-16535 Use regex to exclude generated classes for findbugs
Date Wed, 31 Aug 2016 07:23:07 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 d52cb68c1 -> 5a1b3a548


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/5a1b3a54
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5a1b3a54
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5a1b3a54

Branch: refs/heads/0.98
Commit: 5a1b3a548e2b6597d5bd3272de2afbf0bef8393d
Parents: d52cb68
Author: zhangduo <zhangduo@apache.org>
Authored: Wed Aug 31 12:01:14 2016 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Wed Aug 31 15:01:55 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/5a1b3a54/dev-support/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/dev-support/findbugs-exclude.xml b/dev-support/findbugs-exclude.xml
index b47ef46..f551428 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"/>


Mime
View raw message