You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/12/09 15:21:59 UTC

(commons-lang) branch master updated: Remove SpotBugs exclusions for fixed SpotBugs bug

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new cbc44a304 Remove SpotBugs exclusions for fixed SpotBugs bug
cbc44a304 is described below

commit cbc44a30453a1e06cb51b61bb0cf23b158a5c015
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Dec 9 10:21:55 2023 -0500

    Remove SpotBugs exclusions for fixed SpotBugs bug
    
    DMI_RANDOM_USED_ONLY_ONCE
    https://github.com/spotbugs/spotbugs/issues/1504
---
 src/conf/spotbugs-exclude-filter.xml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/conf/spotbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml
index e92078749..00dc1f3cb 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -60,20 +60,6 @@
     <Bug pattern="CT_CONSTRUCTOR_THROW" />
   </Match>
 
-  <!-- https://github.com/spotbugs/spotbugs/issues/1504 -->
-  <Match>
-    <Class name="org.apache.commons.lang3.ArrayUtils" />
-    <Method name="shuffle" />
-    <Bug pattern="DMI_RANDOM_USED_ONLY_ONCE" />
-  </Match>
-
-  <!-- https://github.com/spotbugs/spotbugs/issues/1504 -->
-  <Match>
-    <Class name="org.apache.commons.lang3.RandomStringUtils" />
-    <Method name="random" />
-    <Bug pattern="DMI_RANDOM_USED_ONLY_ONCE" />
-  </Match>
-
   <Match>
     <Class name="org.apache.commons.lang3.ArrayUtils" />
     <Method name="addFirst" />