Author: ggregory Date: Wed May 16 14:48:12 2012 New Revision: 1339202 URL: http://svn.apache.org/viewvc?rev=1339202&view=rev Log: Better param name: newfile -> newFile
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileObject.java commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileObject.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileObject.java?rev=1339202&r1=1339201&r2=1339202&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileObject.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileObject.java Wed May 16 14:48:12 2012 @@ -184,9 +184,9 @@ public class RamFileObject extends Abstr * @see org.apache.commons.vfs2.provider.AbstractFileObject#doRename(org.apache.commons.vfs2.FileObject) */ @Override - protected void doRename(FileObject newfile) throws Exception + protected void doRename(FileObject newFile) throws Exception { - fs.rename(this, (RamFileObject) newfile); + fs.rename(this, (RamFileObject) newFile); } /* Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java?rev=1339202&r1=1339201&r2=1339202&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java Wed May 16 14:48:12 2012 @@ -283,12 +283,12 @@ public class SftpFileObject extends Abst * Rename the file. */ @Override - protected void doRename(FileObject newfile) throws Exception + protected void doRename(FileObject newFile) throws Exception { final ChannelSftp channel = fileSystem.getChannel(); try { - channel.rename(relPath, ((SftpFileObject) newfile).relPath); + channel.rename(relPath, ((SftpFileObject) newFile).relPath); } finally { Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java?rev=1339202&r1=1339201&r2=1339202&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java Wed May 16 14:48:12 2012 @@ -237,10 +237,10 @@ public class WebdavFileObject extends Ht * Rename the file. */ @Override - protected void doRename(FileObject newfile) throws Exception + protected void doRename(FileObject newFile) throws Exception { String url = encodePath(urlString((URLFileName) getName())); - String dest = urlString((URLFileName) newfile.getName(), false); + String dest = urlString((URLFileName) newFile.getName(), false); DavMethod method = new MoveMethod(url, dest, false); setupMethod(method); execute(method);