This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch feature/RAT-369
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/feature/RAT-369 by this push:
     new eaa20718 RAT-369: Remove examples from exclusion files in submodules
eaa20718 is described below

commit eaa207180ed9274f4af38fabb270d770e04b4d97
Author: P. Ottlinger <[email protected]>
AuthorDate: Wed May 1 21:45:51 2024 +0200

    RAT-369: Remove examples from exclusion files in submodules
---
 apache-rat-tools/spotbugs_ignore.xml | 3 +--
 spotbugs_ignore.xml                  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/apache-rat-tools/spotbugs_ignore.xml 
b/apache-rat-tools/spotbugs_ignore.xml
index f6a55af9..8e4ed55a 100644
--- a/apache-rat-tools/spotbugs_ignore.xml
+++ b/apache-rat-tools/spotbugs_ignore.xml
@@ -20,8 +20,7 @@
     <!-- Uses tryWithResources, thus closes resource properly:
     [ERROR] Medium: 
org.apache.rat.configuration.builders.ChildContainerBuilder.setResource(String) 
may fail to close stream
     [org.apache.rat.configuration.builders.ChildContainerBuilder] At 
ChildContainerBuilder.java:[line 62] OS_OPEN_STREAM
-  -->
     <Class name="org.apache.rat.configuration.builders.ChildContainerBuilder"/>
-    <Bug pattern="OS_OPEN_STREAM"/>
+    <Bug pattern="OS_OPEN_STREAM"/-->
   </Match>
 </FindBugsFilter>
diff --git a/spotbugs_ignore.xml b/spotbugs_ignore.xml
index f6a55af9..8e4ed55a 100644
--- a/spotbugs_ignore.xml
+++ b/spotbugs_ignore.xml
@@ -20,8 +20,7 @@
     <!-- Uses tryWithResources, thus closes resource properly:
     [ERROR] Medium: 
org.apache.rat.configuration.builders.ChildContainerBuilder.setResource(String) 
may fail to close stream
     [org.apache.rat.configuration.builders.ChildContainerBuilder] At 
ChildContainerBuilder.java:[line 62] OS_OPEN_STREAM
-  -->
     <Class name="org.apache.rat.configuration.builders.ChildContainerBuilder"/>
-    <Bug pattern="OS_OPEN_STREAM"/>
+    <Bug pattern="OS_OPEN_STREAM"/-->
   </Match>
 </FindBugsFilter>

Reply via email to