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 a73ea85 Use import instead of FQCNs.
a73ea85 is described below
commit a73ea85d3a9386cb177fd3eb20fb77029d4b51ed
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Dec 14 20:05:51 2021 -0500
Use import instead of FQCNs.
---
src/main/java/org/apache/commons/net/util/ListenerList.java | 6 ++++--
1 file changed, 4 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 1eff4dc..fef969f 100644
--- a/src/main/java/org/apache/commons/net/util/ListenerList.java
+++ b/src/main/java/org/apache/commons/net/util/ListenerList.java
@@ -18,6 +18,8 @@
package org.apache.commons.net.util;
import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.EventListener;
import java.util.Iterator;
@@ -69,12 +71,12 @@ public class ListenerList implements Serializable,
Iterable<EventListener>
Reject attempts to do so until such time as the Serializable attribute
can be dropped.
*/
- private void writeObject(java.io.ObjectOutputStream out) throws IOException
+ private void writeObject(ObjectOutputStream out) throws IOException
{
throw new UnsupportedOperationException("Serialization is not
supported");
}
- private void readObject(java.io.ObjectInputStream in) throws IOException,
ClassNotFoundException
+ private void readObject(ObjectInputStream in) throws IOException,
ClassNotFoundException
{
throw new UnsupportedOperationException("Serialization is not
supported");
}