Author: sebb Date: Tue Feb 28 17:49:19 2012 New Revision: 1294749 URL: http://svn.apache.org/viewvc?rev=1294749&view=rev Log: Javadoc corrections
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java?rev=1294749&r1=1294748&r2=1294749&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java Tue Feb 28 17:49:19 2012 @@ -64,10 +64,9 @@ public class FTPTimestampParserImpl impl * member has not been defined, attempt to parse with the defaultDateFormat * member. If that fails, throw a ParseException. * - * This method allows a {@link Calendar} instance to be passed in which represents the - * current (system) time. - * - * @see org.apache.commons.net.ftp.parser.FTPTimestampParser#parseTimestamp(java.lang.String) + * This method assumes that the server time is the same as the local time. + * + * @see FTPTimestampParserImpl#parseTimestamp(String, Calendar) * * @param timestampStr The timestamp to be parsed */ @@ -77,16 +76,15 @@ public class FTPTimestampParserImpl impl } /** - * Implements the one {@link FTPTimestampParser#parseTimestamp(String) method} - * in the {@link FTPTimestampParser FTPTimestampParser} interface - * according to this algorithm: - * * If the recentDateFormat member has been defined, try to parse the * supplied string with that. If that parse fails, or if the recentDateFormat * member has not been defined, attempt to parse with the defaultDateFormat * member. If that fails, throw a ParseException. * - * @see org.apache.commons.net.ftp.parser.FTPTimestampParser#parseTimestamp(java.lang.String) + * This method allows a {@link Calendar} instance to be passed in which represents the + * current (system) time. + * + * @see FTPTimestampParser#parseTimestamp(String) * @param timestampStr The timestamp to be parsed * @param serverTime The current time for the server * @since 1.5