Author: sebb Date: Mon Nov 15 19:46:57 2010 New Revision: 1035423 URL: http://svn.apache.org/viewvc?rev=1035423&view=rev Log: Adding @since tags
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java?rev=1035423&r1=1035422&r2=1035423&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java Mon Nov 15 19:46:57 2010 @@ -268,6 +268,7 @@ public abstract class AbstractFileObject * This implementation throws an exception. * * @return false if it was not possible to change the time + * @since 2.0 */ protected boolean doSetLastModTime(final long modtime) throws Exception @@ -282,7 +283,7 @@ public abstract class AbstractFileObject * <p/> * This implementation throws an exception. * - * @deprecated use {...@link #doSetLastModTime} + * @deprecated (2.0) use {...@link #doSetLastModTime} */ @Deprecated protected void doSetLastModifiedTime(final long modtime) @@ -322,6 +323,7 @@ public abstract class AbstractFileObject * This implementation throws an exception. * @returns true if removing the attribute succeed. In this case we remove the attribute from * our cache + * @since 2.0 */ protected void doRemoveAttribute(final String atttrName) throws Exception @@ -1195,6 +1197,7 @@ public abstract class AbstractFileObject /** * Create a FileContent implementation. + * @since 2.0 */ protected FileContent doCreateFileContent() throws FileSystemException { Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java?rev=1035423&r1=1035422&r2=1035423&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java Mon Nov 15 19:46:57 2010 @@ -260,51 +260,61 @@ public class HostFileNameParser extends private String password; private int port; + /** @since 2.0 */ public String getScheme() { return scheme; } + /** @since 2.0 */ public void setScheme(String scheme) { this.scheme = scheme; } + /** @since 2.0 */ public String getHostName() { return hostName; } + /** @since 2.0 */ public void setHostName(String hostName) { this.hostName = hostName; } + /** @since 2.0 */ public String getUserName() { return userName; } + /** @since 2.0 */ public void setUserName(String userName) { this.userName = userName; } + /** @since 2.0 */ public String getPassword() { return password; } + /** @since 2.0 */ public void setPassword(String password) { this.password = password; } + /** @since 2.0 */ public int getPort() { return port; } + /** @since 2.0 */ public void setPort(int port) { this.port = port;