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 df2b822 Better internal name. df2b822 is described below commit df2b822aba4fa42997f5b39c1df8f6d5447d0ae4 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Dec 17 14:49:31 2020 -0500 Better internal name. --- .../java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java b/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java index 60dcae8..f023d5d 100644 --- a/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java +++ b/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java @@ -60,7 +60,7 @@ import org.apache.commons.net.ftp.FTPFileEntryParserImpl; public class MLSxEntryParser extends FTPFileEntryParserImpl { // This class is immutable, so a single instance can be shared. - private static final MLSxEntryParser PARSER = new MLSxEntryParser(); + private static final MLSxEntryParser INSTANCE = new MLSxEntryParser(); private static final HashMap<String, Integer> TYPE_TO_INT = new HashMap<>(); static { @@ -258,10 +258,10 @@ public class MLSxEntryParser extends FTPFileEntryParserImpl } public static FTPFile parseEntry(final String entry) { - return PARSER.parseFTPEntry(entry); + return INSTANCE.parseFTPEntry(entry); } public static MLSxEntryParser getInstance() { - return PARSER; + return INSTANCE; } }