Author: ggregory
Date: Wed May 16 14:46:49 2012
New Revision: 1339197
URL: http://svn.apache.org/viewvc?rev=1339197&view=rev
Log:
Better param name: newfile -> newFile
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
URL:
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java?rev=1339197&r1=1339196&r2=1339197&view=diff
==============================================================================
---
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
(original)
+++
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
Wed May 16 14:46:49 2012
@@ -489,7 +489,7 @@ public class FtpFileObject extends Abstr
* Renames the file
*/
@Override
- protected void doRename(FileObject newfile) throws Exception
+ protected void doRename(FileObject newFile) throws Exception
{
synchronized (getFileSystem())
{
@@ -498,7 +498,7 @@ public class FtpFileObject extends Abstr
try
{
String oldName = getName().getPath();
- String newName = newfile.getName().getPath();
+ String newName = newFile.getName().getPath();
ok = ftpClient.rename(oldName, newName);
}
finally
@@ -509,7 +509,7 @@ public class FtpFileObject extends Abstr
if (!ok)
{
throw new
FileSystemException("vfs.provider.ftp/rename-file.error",
- getName().toString(), newfile);
+ getName().toString(), newFile);
}
this.fileInfo = null;
children = EMPTY_FTP_FILE_MAP;