You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/09/14 02:35:12 UTC

svn commit: r814452 - /commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java

Author: sebb
Date: Mon Sep 14 00:35:12 2009
New Revision: 814452

URL: http://svn.apache.org/viewvc?rev=814452&view=rev
Log:
Remove unused variable and fix Eclipse drop-thru warning

Modified:
    commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java

Modified: commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java?rev=814452&r1=814451&r2=814452&view=diff
==============================================================================
--- commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java Mon Sep 14 00:35:12 2009
@@ -32,12 +32,6 @@
  */
 public class UnixFTPEntryParser extends ConfigurableFTPFileEntryParserImpl
 {
-    /**
-     * months abbreviations looked for by this parser.  Also used
-     * to determine which month is matched by the parser
-     */
-    private static final String DEFAULT_MONTHS =
-        "(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)";
     
     static final String DEFAULT_DATE_FORMAT 
         = "MMM d yyyy"; //Nov 9 2001
@@ -191,6 +185,7 @@
             case 'c':
                 isDevice = true;
                 // break; - fall through
+                //$FALL-THROUGH$ TODO fix if DEVICE_TYPE is introduced
             case 'f':
             case '-':
                 type = FTPFile.FILE_TYPE;