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:14:53 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 2250e5718 -> 4de27ee31


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

Branch: refs/heads/branch-1.1
Commit: 4de27ee312f7d4373a9c5745e114f2077acdb63d
Parents: 2250e57
Author: zhangduo <zhangduo@apache.org>
Authored: Wed Aug 31 12:01:14 2016 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Wed Aug 31 14:43:05 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/4de27ee3/dev-support/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/dev-support/findbugs-exclude.xml b/dev-support/findbugs-exclude.xml
index b2a609a..aa9c5d7 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