Skip to content

Commit e957cf1

Browse files
author
Rory Winston
committed
Minor Javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/net/branches/JDK_1_5_BRANCH@482832 13f79535-47bb-0310-9956-ffa450edef68
1 parent e43b619 commit e957cf1

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/main/java/org/apache/commons/net/ftp/FTPClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@
103103
* <code> FTP.STREAM_TRANSFER_MODE </code>, and
104104
* <code> FTP.FILE_STRUCTURE </code>. The only file types directly supported
105105
* are <code> FTP.ASCII_FILE_TYPE </code> and
106-
* <code> FTP.IMAGE_FILE_TYPE </code> (which is the same as
107-
* <code> FTP.BINARY_FILE_TYPE </code>). Because there are at lest 4
106+
* <code> FTP.BINARY_FILE_TYPE </code>. Because there are at least 4
108107
* different EBCDIC encodings, we have opted not to provide direct support
109108
* for EBCDIC. To transfer EBCDIC and other unsupported file types you
110109
* must create your own filter InputStreams and OutputStreams and wrap
@@ -954,7 +953,7 @@ public int getDataConnectionMode()
954953

955954
/***
956955
* Sets the file type to be transferred. This should be one of
957-
* <code> FTP.ASCII_FILE_TYPE </code>, <code> FTP.IMAGE_FILE_TYPE </code>,
956+
* <code> FTP.ASCII_FILE_TYPE </code>, <code> FTP.BINARY_FILE_TYPE</code>,
958957
* etc. The file type only needs to be set when you want to change the
959958
* type. After changing it, the new type stays in effect until you change
960959
* it again. The default file type is <code> FTP.ASCII_FILE_TYPE </code>
@@ -986,7 +985,7 @@ public boolean setFileType(int fileType) throws IOException
986985
/***
987986
* Sets the file type to be transferred and the format. The type should be
988987
* one of <code> FTP.ASCII_FILE_TYPE </code>,
989-
* <code> FTP.IMAGE_FILE_TYPE </code>, etc. The file type only needs to
988+
* <code> FTP.BINARY_FILE_TYPE </code>, etc. The file type only needs to
990989
* be set when you want to change the type. After changing it, the new
991990
* type stays in effect until you change it again. The default file type
992991
* is <code> FTP.ASCII_FILE_TYPE </code> if this method is never called.

src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public class DefaultFTPFileEntryParserFactory
6767
* <li>{@link FTPClientConfig#SYST_OS400 OS/400}</li>
6868
* <li>{@link FTPClientConfig#SYST_VMS VMS}</li>
6969
* <li>{@link FTPClientConfig#SYST_MVS MVS}</li>
70+
* <li>{@link FTPClientConfig#SYST_NETWARE}</li>
7071
* </ul>
7172
* @return the FTPFileEntryParser corresponding to the supplied key.
7273
* @throws ParserInitializationException thrown if for any reason the factory cannot resolve

src/site/xdoc/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ limitations under the License.
2323

2424
<body>
2525
<release version="2.0" date="" description="Java 5.0 release">
26+
<action dev="rwinston" type="add">
27+
Add connection timeout functionality to SocketClient.
28+
</action>
2629
<action dev="rwinston" type="update">
2730
Make the KeyManager and TrustManager settable (&lt;niklas@protocol7.com&gt;).
2831
</action>

0 commit comments

Comments
 (0)