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-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c38b67d Add SpotBugs exclusions for binary compatibility
1c38b67d is described below

commit 1c38b67d0ec8a635111f68622902fad656e39a5a
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jun 19 08:40:14 2024 -0400

    Add SpotBugs exclusions for binary compatibility
---
 src/conf/findbugs-exclude-filter.xml | 55 +++++++++++++++++++++++++++++++++++-
 1 file changed, 54 insertions(+), 1 deletion(-)

diff --git a/src/conf/findbugs-exclude-filter.xml 
b/src/conf/findbugs-exclude-filter.xml
index 7f8157fa..144fb57c 100644
--- a/src/conf/findbugs-exclude-filter.xml
+++ b/src/conf/findbugs-exclude-filter.xml
@@ -78,6 +78,60 @@
     <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
   </Match>
 
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.chargen" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.daytime" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.echo" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.finger" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.fwhois" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.rdate" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.rexec" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.rlogin" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
+  <!-- Keep for binary compatibility -->
+  <Match>
+    <Class name="org.apache.commons.net.examples.unix.rshell" />
+    <Bug pattern="NM_CLASS_NAMING_CONVENTION" />
+  </Match>
+
   <!-- Used externally -->
   <Match>
     <Class name="org.apache.commons.net.pop3.POP3MessageInfo" />
@@ -88,7 +142,6 @@
     <Bug code="UrF" />
   </Match>
 
-
   <!-- Don't check examples -->
   <Match>
     <Package name="~examples\..*" />

Reply via email to