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 febb6214 Use Checkstyle WhitespaceAfter febb6214 is described below commit febb6214c9fdc02e28587b4194f171c9d9dc9cbb Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 4 15:35:02 2024 -0400 Use Checkstyle WhitespaceAfter --- .../org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java | 2 +- src/main/java/org/apache/commons/net/imap/IMAPSClient.java | 2 +- src/main/java/org/apache/commons/net/pop3/POP3SClient.java | 2 +- src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java b/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java index 15e6e1cc..69d1f286 100644 --- a/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java +++ b/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java @@ -265,7 +265,7 @@ public class FTPTimestampParserImpl implements FTPTimestampParser, Configurable Date parsed; if (recentDateFormat != null) { - final Calendar now = (Calendar) serverTime.clone();// Copy this, because we may change it + final Calendar now = (Calendar) serverTime.clone(); // Copy this, because we may change it now.setTimeZone(this.getServerTimeZone()); if (lenientFutureDates) { // add a day to "now" so that "slop" doesn't cause a date diff --git a/src/main/java/org/apache/commons/net/imap/IMAPSClient.java b/src/main/java/org/apache/commons/net/imap/IMAPSClient.java index 6fffb19d..93ce9037 100644 --- a/src/main/java/org/apache/commons/net/imap/IMAPSClient.java +++ b/src/main/java/org/apache/commons/net/imap/IMAPSClient.java @@ -78,7 +78,7 @@ public class IMAPSClient extends IMAPClient { private String[] suites; /** The protocol versions. */ private String[] protocols // null; - ;// {"SSLv2", "SSLv3", "TLSv1", "TLSv1.1", "SSLv2Hello"}; + ; // {"SSLv2", "SSLv3", "TLSv1", "TLSv1.1", "SSLv2Hello"}; /** The IMAPS {@link TrustManager} implementation, default null. */ private TrustManager trustManager; diff --git a/src/main/java/org/apache/commons/net/pop3/POP3SClient.java b/src/main/java/org/apache/commons/net/pop3/POP3SClient.java index 7a83430e..d87812a8 100644 --- a/src/main/java/org/apache/commons/net/pop3/POP3SClient.java +++ b/src/main/java/org/apache/commons/net/pop3/POP3SClient.java @@ -69,7 +69,7 @@ public class POP3SClient extends POP3Client { private String[] suites; /** The protocol versions. */ private String[] protocols // null; - ;// {"SSLv2", "SSLv3", "TLSv1", "TLSv1.1", "SSLv2Hello"}; + ; // {"SSLv2", "SSLv3", "TLSv1", "TLSv1.1", "SSLv2Hello"}; /** The FTPS {@link TrustManager} implementation, default null. */ private TrustManager trustManager; diff --git a/src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java b/src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java index 5124971a..5f95542a 100644 --- a/src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java +++ b/src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java @@ -43,9 +43,9 @@ public class DownloadListings extends FTPClient { static final String DOWNLOAD_DIR = "target/ftptest"; public static void main(final String[] args) throws Exception { - String host;// = "ftp.funet.fi"; + String host; // = "ftp.funet.fi"; final int port = 21; - String path;// = "/"; + String path; // = "/"; new File(DOWNLOAD_DIR).mkdirs(); final DownloadListings self = new DownloadListings();