HBASE-16535 Use regex to exclude generated classes for findbugs

This commit is contained in:
zhangduo 2016-08-31 12:01:14 +08:00
parent 647a65ce01
commit 1da0a48f6b
1 changed files with 2 additions and 22 deletions

View File

@ -16,35 +16,15 @@
--> -->
<FindBugsFilter> <FindBugsFilter>
<!-- Nested packages are not included by the Package filter, so we need a regexp... -->
<Match> <Match>
<Package name="org.apache.hadoop.hbase.thrift2.generated"/> <Class name="~.*\.generated\..*"/>
</Match> </Match>
<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\..*"/> <Package name="~org\.apache\.hadoop\.hbase\.tmpl\..*"/>
</Match> </Match>
<Match>
<Package name="~org\.apache\.hadoop\.hbase\.generated\..*"/>
</Match>
<Match> <Match>
<Class name="org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost"/> <Class name="org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost"/>
<Or> <Or>