tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject incubator-tamaya git commit: TAMAYA-53 Added some exclusions for false positives to the FindBugs exlusion filter file.
Date Sat, 17 Jan 2015 09:56:20 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 258936c33 -> 23484fcc6


TAMAYA-53 Added some exclusions for false positives to the FindBugs exlusion filter file.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/23484fcc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/23484fcc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/23484fcc

Branch: refs/heads/master
Commit: 23484fcc6a8e574c2f32b9f81213cd1d2055e072
Parents: 258936c
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Sat Jan 17 10:55:43 2015 +0100
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Sat Jan 17 10:55:43 2015 +0100

----------------------------------------------------------------------
 .../resources/findbugs/findbugs-exclude.xml     | 39 ++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/23484fcc/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 9227846..539f9fb 100644
--- a/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
+++ b/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
@@ -19,4 +19,43 @@ under the License.
 -->
 <FindBugsFilter>
 
+    <Match>
+        <!-- Note:
+          The current version of FindBugs (version 3.0.0) is not able to detect
+          the usage of this method via a method reference.
+          Oliver B. Fischer, 17.01.2015
+        -->
+        <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext"/>
+        <Method name="comparePropertySources"
+                params="org.apache.tamaya.spi.PropertySource,org.apache.tamaya.spi.PropertySource"
+                returns="int"/>
+        <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
+    </Match>
+
+    <Match>
+        <!-- Note:
+         The current version of FindBugs (version 3.0.0) is not able to detect
+         the usage of this method via a method reference.
+         Oliver B. Fischer, 17.01.2015
+       -->
+
+        <Class name="org.apache.tamaya.core.internal.DefaultConfigurationContext"/>
+        <Method name="comparePropertyFilters"
+                params="org.apache.tamaya.spi.PropertyFilter,org.apache.tamaya.spi.PropertyFilter"
+                returns="int"/>
+        <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
+    </Match>
+
+    <Match>
+        <!-- Note:
+           Please check this exclusion. Maybe this is not a false
+           positive.
+           Oliver B. Fischer, 17.01.2015
+        -->
+        <Class name="org.apache.tamaya.core.internal.PropertiesFileLoader"
+               params="java.lang.String"
+               returns="java.util.Set"/>
+    </Match>
+
+
 </FindBugsFilter>


Mime
View raw message