Exclude "uncallable method of anonymous class" errors from findbugs
These errors are spurious in the presence of reflective invocations, such as that for the new DoFn. Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/8a2cf609 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/8a2cf609 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/8a2cf609 Branch: refs/heads/python-sdk Commit: 8a2cf609ec0f3ac74a4c33a89cd852aee87cd0a1 Parents: 34d5012 Author: Kenneth Knowles <[email protected]> Authored: Wed Aug 3 21:23:22 2016 -0700 Committer: Kenneth Knowles <[email protected]> Committed: Thu Aug 4 11:06:10 2016 -0700 ---------------------------------------------------------------------- sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/8a2cf609/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml ---------------------------------------------------------------------- diff --git a/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml b/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml index 28fd0df..f117fbf 100644 --- a/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml +++ b/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml @@ -23,6 +23,8 @@ <Bug pattern="EI_EXPOSE_REP2" /> <Bug pattern="SE_NO_SERIALVERSIONID"/> + <!-- The uncallable method error fails on @ProcessElement style methods --> + <Bug pattern="UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS"/> <!-- Baseline issues below. No new issues should be added to this list. Instead, suppress
