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 2011/02/26 04:25:00 UTC

svn commit: r1074784 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java

Author: sebb
Date: Sat Feb 26 03:24:59 2011
New Revision: 1074784

URL: http://svn.apache.org/viewvc?rev=1074784&view=rev
Log:
NET-330 The method VMSFTPEntryParser.parseFileList(InputStream listStream) should not be present.

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1074784&r1=1074783&r2=1074784&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Sat Feb 26 03:24:59 2011
@@ -52,6 +52,9 @@ The <action> type attribute can be add,u
 
     <body>
         <release version="2.3" date="TBA" description="TBA">
+            <action issue="NET-330" dev="sebb" type="fix">
+            The method VMSFTPEntryParser.parseFileList(InputStream listStream) should not be present.
+            </action>
             <action issue="NET-303" dev="sebb" type="fix">
             FTPFileEntryParser API samples are wrong.
             </action>

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java?rev=1074784&r1=1074783&r2=1074784&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java Sat Feb 26 03:24:59 2011
@@ -98,33 +98,6 @@ public class VMSFTPEntryParser extends C
         configure(config);
     }
 
-
-
-    /***
-     * Parses an FTP server file listing and converts it into a usable format
-     * in the form of an array of <code> FTPFile </code> instances.  If the
-     * file list contains no files, <code> null </code> should be
-     * returned, otherwise an array of <code> FTPFile </code> instances
-     * representing the files in the directory is returned.
-     * <p>
-     * @param listStream The InputStream from which the file list should be
-     *        read.
-     * @return The list of file information contained in the given path.  null
-     *     if the list could not be obtained or if there are no files in
-     *     the directory.
-     * @exception IOException  If an I/O error occurs reading the listStream.
-     * @deprecated (2.2) No other FTPFileEntryParser implementations have this method.
-     * Not currently used by NET code. To be removed in 3.0
-     ***/
-    @Deprecated
-    public FTPFile[] parseFileList(InputStream listStream) throws IOException {
-        FTPListParseEngine engine = new FTPListParseEngine(this);
-        engine.readServerList(listStream, null);
-        return engine.getFiles();
-    }
-
-
-
     /**
      * Parses a line of a VMS FTP server file listing and converts it into a
      * usable format in the form of an <code> FTPFile </code> instance.  If the