commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1033636 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Date Wed, 10 Nov 2010 18:34:11 GMT
Author: sebb
Date: Wed Nov 10 18:34:10 2010
New Revision: 1033636

URL: http://svn.apache.org/viewvc?rev=1033636&view=rev
Log:
VFS-337 - document that ctor requires an AbstractFileName

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java?rev=1033636&r1=1033635&r2=1033636&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Wed Nov 10 18:34:10 2010
@@ -91,6 +91,12 @@ public abstract class AbstractFileObject
      */
     private FileOperations operations;
 
+    /**
+     * 
+     * @param name the file name - muse be an instance of {@link AbstractFileName}
+     * @param fs the file system
+     * @throws ClassCastException if {@code name} is not an instance of {@link AbstractFileName}
+     */
     protected AbstractFileObject(final FileName name,
                                  final AbstractFileSystem fs)
     {



Mime
View raw message