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 8822c3a4e7976f65deed7a2a30fcee4832815223
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Jan 25 15:50:39 2024 -0500

    Sort imports in tests
---
 src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java  | 4 ++--
 src/test/java/org/apache/commons/net/ftp/FTPClientTest.java           | 4 ++--
 src/test/java/org/apache/commons/net/ftp/FTPSClientGettersTest.java   | 4 ++--
 .../java/org/apache/commons/net/ftp/parser/AbstractFTPParseTest.java  | 4 ++--
 .../commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java  | 4 ++--
 .../org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java   | 4 ++--
 .../org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java | 4 ++--
 src/test/java/org/apache/commons/net/tftp/TFTPTest.java               | 4 ++--
 8 files changed, 16 insertions(+), 16 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java 
b/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java
index 1030eaa3..0e7ced13 100644
--- a/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java
+++ b/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java
@@ -19,10 +19,10 @@ package org.apache.commons.net;
 import java.net.InetSocketAddress;
 import java.net.Proxy;
 
-import org.apache.commons.net.ftp.FTPClient;
-
 import junit.framework.TestCase;
 
+import org.apache.commons.net.ftp.FTPClient;
+
 /**
  * A simple functional test class for SocketClients.
  *
diff --git a/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java 
b/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
index a9c898f6..86149341 100644
--- a/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
+++ b/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
@@ -22,10 +22,10 @@ import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.net.InetAddress;
 
-import org.apache.commons.net.ftp.parser.UnixFTPEntryParser;
-
 import junit.framework.TestCase;
 
+import org.apache.commons.net.ftp.parser.UnixFTPEntryParser;
+
 public class FTPClientTest extends TestCase {
 
     private static final class LocalClient extends FTPClient {
diff --git 
a/src/test/java/org/apache/commons/net/ftp/FTPSClientGettersTest.java 
b/src/test/java/org/apache/commons/net/ftp/FTPSClientGettersTest.java
index cd980784..649c4a7d 100644
--- a/src/test/java/org/apache/commons/net/ftp/FTPSClientGettersTest.java
+++ b/src/test/java/org/apache/commons/net/ftp/FTPSClientGettersTest.java
@@ -16,13 +16,13 @@
  */
 package org.apache.commons.net.ftp;
 
-import org.junit.jupiter.api.Test;
-
 import static org.junit.jupiter.api.Assertions.assertArrayEquals;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+import org.junit.jupiter.api.Test;
+
 /**
  * Tests the getters on {@link FTPSClient}.
  */
diff --git 
a/src/test/java/org/apache/commons/net/ftp/parser/AbstractFTPParseTest.java 
b/src/test/java/org/apache/commons/net/ftp/parser/AbstractFTPParseTest.java
index 0975ed89..920583a3 100644
--- a/src/test/java/org/apache/commons/net/ftp/parser/AbstractFTPParseTest.java
+++ b/src/test/java/org/apache/commons/net/ftp/parser/AbstractFTPParseTest.java
@@ -21,11 +21,11 @@ import java.time.Instant;
 import java.util.Calendar;
 import java.util.Locale;
 
+import junit.framework.TestCase;
+
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
-import junit.framework.TestCase;
-
 /**
  */
 public abstract class AbstractFTPParseTest extends TestCase {
diff --git 
a/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
 
b/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
index b1f9e427..e9801031 100644
--- 
a/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
+++ 
b/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
@@ -18,11 +18,11 @@ package org.apache.commons.net.ftp.parser;
 
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
+import junit.framework.TestCase;
+
 import org.apache.commons.net.ftp.FTPClientConfig;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
-import junit.framework.TestCase;
-
 public class DefaultFTPFileEntryParserFactoryTest extends TestCase {
     private void checkParserClass(final FTPFileEntryParserFactory fact, final 
String key, final Class<?> expected) {
         final FTPClientConfig config = key == null ? new FTPClientConfig() : 
new FTPClientConfig(key);
diff --git 
a/src/test/java/org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java 
b/src/test/java/org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java
index afebc3d2..db6f0c54 100644
--- 
a/src/test/java/org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java
+++ 
b/src/test/java/org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java
@@ -19,11 +19,11 @@ package org.apache.commons.net.ftp.parser;
 import java.text.SimpleDateFormat;
 import java.util.Calendar;
 
+import junit.framework.TestCase;
+
 import org.apache.commons.net.ftp.FTPClientConfig;
 import org.apache.commons.net.ftp.FTPFile;
 
-import junit.framework.TestCase;
-
 /**
  * This is a simple TestCase that tests entry parsing using the new 
FTPClientConfig mechanism. The normal FTPClient cannot handle the different 
date formats in
  * these entries, however using a configurable format, we can handle it easily.
diff --git 
a/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
 
b/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
index 541474e4..b99ba8ff 100644
--- 
a/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
+++ 
b/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
@@ -27,11 +27,11 @@ import java.util.GregorianCalendar;
 import java.util.Locale;
 import java.util.TimeZone;
 
-import org.apache.commons.net.ftp.FTPClientConfig;
-
 import junit.framework.AssertionFailedError;
 import junit.framework.TestCase;
 
+import org.apache.commons.net.ftp.FTPClientConfig;
+
 /**
  * Test the FTPTimestampParser class.
  */
diff --git a/src/test/java/org/apache/commons/net/tftp/TFTPTest.java 
b/src/test/java/org/apache/commons/net/tftp/TFTPTest.java
index 15d7884e..36a6e2e6 100644
--- a/src/test/java/org/apache/commons/net/tftp/TFTPTest.java
+++ b/src/test/java/org/apache/commons/net/tftp/TFTPTest.java
@@ -23,11 +23,11 @@ import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.OutputStream;
 
+import junit.framework.TestCase;
+
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.net.tftp.TFTPServer.ServerMode;
 
-import junit.framework.TestCase;
-
 /**
  * Test the TFTP Server and TFTP Client by creating some FILES in the system 
temp folder and then uploading and downloading them.
  */

Reply via email to