commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1339200&view=rev
Log:
Better param name: newfile -> newFile

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=1339200&r1=1339199&r2=1339200&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 May 16 14:47:37 2012
@@ -129,14 +129,14 @@ public class LocalFile extends AbstractF
      * rename this file
      */
     @Override
-    protected void doRename(final FileObject newfile) throws Exception
+    protected void doRename(final FileObject newFile) throws Exception
     {
-        LocalFile newLocalFile = (LocalFile) FileObjectUtils.getAbstractFileObject(newfile);
+        LocalFile newLocalFile = (LocalFile) FileObjectUtils.getAbstractFileObject(newFile);
 
         if (!file.renameTo(newLocalFile.getLocalFile()))
         {
             throw new FileSystemException("vfs.provider.local/rename-file.error",
-                file.toString(), newfile.toString());
+                file.toString(), newFile.toString());
         }
     }
 



Mime
View raw message