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
commit 743028e3b536bf619940ff41f2c1658c7775c457 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jun 16 11:26:39 2024 -0400 Rename parameter to 'ignored' for PMD UnusedFormalParameter Use an import instead of FQCN --- src/main/java/org/apache/commons/net/util/ListenerList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/net/util/ListenerList.java b/src/main/java/org/apache/commons/net/util/ListenerList.java index 15927975..96cc3e4d 100644 --- a/src/main/java/org/apache/commons/net/util/ListenerList.java +++ b/src/main/java/org/apache/commons/net/util/ListenerList.java @@ -55,7 +55,7 @@ public class ListenerList implements Serializable, Iterable<EventListener> { return listeners.iterator(); } - private void readObject(final ObjectInputStream in) { + private void readObject(final ObjectInputStream ignored) { throw new UnsupportedOperationException("Serialization is not supported"); } @@ -67,7 +67,7 @@ public class ListenerList implements Serializable, Iterable<EventListener> { listeners.remove(listener); } - private void writeObject(final ObjectOutputStream out) { + private void writeObject(final ObjectOutputStream ignored) { throw new UnsupportedOperationException("Serialization is not supported"); }