TAMAYA-53 Added more exclusions to the FindBugs exlusion file. Build should not fail because of unread or unused fields.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/39e96d29 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/39e96d29 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/39e96d29 Branch: refs/heads/master Commit: 39e96d29f1cc4856d5558a29a6e51ecaedda439f Parents: 1d1f295 Author: Oliver B. Fischer <[email protected]> Authored: Mon Feb 9 08:27:27 2015 +0100 Committer: Oliver B. Fischer <[email protected]> Committed: Mon Feb 9 08:27:27 2015 +0100 ---------------------------------------------------------------------- .../src/main/resources/findbugs/findbugs-exclude.xml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/39e96d29/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml ---------------------------------------------------------------------- diff --git a/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml b/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml index aba0172..7ec44d3 100644 --- a/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml +++ b/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml @@ -24,20 +24,17 @@ under the License. the usage of this method via a method reference. Oliver B. Fischer, 17.01.2015 --> - <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/> + <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" /> </Match> <Match> - <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext$1"/> - </Match> - <Match> - <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext$2"/> - </Match> - <Match> - <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext$3"/> + <!-- Note: We will not fail because of an unread field. --> + <Bug pattern="URF_UNREAD_FIELD" /> </Match> + <Match> - <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext$4"/> + <!-- Note: We will not fail because of an unused field --> + <Bug pattern="UUF_UNUSED_FIELD" /> </Match> <Match>
