commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1409369 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
Date Wed, 14 Nov 2012 20:16:17 GMT
Author: ggregory
Date: Wed Nov 14 20:16:16 2012
New Revision: 1409369

URL: http://svn.apache.org/viewvc?rev=1409369&view=rev
Log:
Revert to making getLocalFile() protected.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java?rev=1409369&r1=1409368&r2=1409369&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
Wed Nov 14 20:16:16 2012
@@ -55,16 +55,10 @@ public class LocalFile extends AbstractF
 
     /**
      * Returns the local file that this file object represents.
-     * <p/>
-     * <h2>Usage recommendation</h2>
-     * <p>
-     * Use this method to interface with code that only supports {@linkplain File} objects.
-     * </p>
      * 
      * @return the local file that this file object represents.
-     * @since 2.1 (this methods was protected in 2.0)
      */
-    public File getLocalFile()
+    protected File getLocalFile()
     {
         return file;
     }



Mime
View raw message