Repository: hbase Updated Branches: refs/heads/branch-1.2 15633a0fb -> c25c36274
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/c25c3627 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c25c3627 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c25c3627 Branch: refs/heads/branch-1.2 Commit: c25c36274f864804faf95e72d3ba88c00b0159c5 Parents: 15633a0 Author: zhangduo <[email protected]> Authored: Wed Aug 31 12:01:14 2016 +0800 Committer: zhangduo <[email protected]> Committed: Wed Aug 31 14:42:56 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/c25c3627/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"/>
