commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1416507 [1/8] - in /commons/proper/vfs/trunk/core/src: main/java/org/apache/commons/vfs2/ main/java/org/apache/commons/vfs2/auth/ main/java/org/apache/commons/vfs2/cache/ main/java/org/apache/commons/vfs2/impl/ main/java/org/apache/commons...
Date Mon, 03 Dec 2012 13:37:52 GMT
Author: ggregory
Date: Mon Dec  3 13:37:12 2012
New Revision: 1416507

URL: http://svn.apache.org/viewvc?rev=1416507&view=rev
Log:
Use final where possible.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileDepthSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileExtensionSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFolderException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFoundException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeHasNoContentException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/PatternFileSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/UserAuthenticationData.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VFS.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VfsLog.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/DefaultFilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/LRUFilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/OnCallRefreshFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/WeakRefFilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultVfsComponentContext.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/FileContentInfoFilenameFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/PrivilegedFileReplicator.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/ProviderConfiguration.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/StandardFileSystemManager.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/SynchronizedFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/URLStreamHandlerProxy.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VFSClassLoader.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VirtualFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VirtualFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/AbstractFileOperationProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/DefaultFileOperations.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/vcs/VcsStatus.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractOriginatingFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessStreamContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractVfsContainer.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/CompositeFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultURLConnection.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DefaultURLStreamHandler.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/DelegateFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/FileContentThreadData.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/FileSystemKey.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/GenericFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/LayeredFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/LayeredFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/URLFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/URLFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/UriParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/bzip2/Bzip2FileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/bzip2/Bzip2FileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/bzip2/Bzip2FileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/compressed/CompressedFileFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FTPClientWrapper.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileType.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsClientFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsClientWrapper.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/gzip/GzipFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/gzip/GzipFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/gzip/GzipFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpClientFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/jar/JarFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/jar/JarFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/jar/JarFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/jar/JarURLConnectionImpl.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/DefaultLocalFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/GenericFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/WindowsFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/WindowsFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileData.java
    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/ram/RamFileOutputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/res/ResourceFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpClientFactory.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/sftp/SftpFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpStreamProxy.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/TrustEveryoneUserInfo.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/temp/TemporaryFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/url/UrlFileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/url/UrlFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/url/UrlFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/url/UrlFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileContentInfoFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileSystemConfigBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavMethodRetryHandler.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/AbstractSyncTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/CopyTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/DeleteTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/MoveTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/ShowFileTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/tasks/VfsTask.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/CombinedResources.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/CryptorFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/DefaultCryptor.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilder.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/EncryptUtil.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/Os.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/UserAuthenticatorUtils.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java
    commons/proper/vfs/trunk/core/src/test/java/code/ClassToLoad.java
    commons/proper/vfs/trunk/core/src/test/java/com/jcraft/jsch/TestIdentityRepositoryFactory.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/AbstractVfsTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/FileExtensionSelectorTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/FileIteratorTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/FileTypeSelectorTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/PatternFileSelectorTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/RunTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/cache/NullFilesCacheTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/cache/NullFilesCacheTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/impl/test/VfsClassLoaderTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/perf/FileNamePerformance.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftp/test/FtpProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftp/test/MultipleConnectionTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderTestCase_Disabled.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/MultipleConnectionTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/HttpProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/RamProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/res/test/ResourceProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/tar/test/LargeTarTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/tar/test/NestedTarTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/tar/test/NestedTbz2TestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/tar/test/NestedTgzTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/test/FileObjectSortTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JcrUtils.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavVersioningTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/zip/test/NestedZipTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractTestSuite.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ContentTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/FileSystemManagerFactoryTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/LastModifiedTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/NamingTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/PermissionsTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderCacheStrategyTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderDeleteTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomReadTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomReadWriteTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRandomSetLengthTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderRenameTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteAppendTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/UrlTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/EncryptDecryptTest.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/util/FreeSocketPortUtil.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileDepthSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileDepthSelector.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileDepthSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileDepthSelector.java Mon Dec  3 13:37:12 2012
@@ -39,7 +39,7 @@ public class FileDepthSelector implement
      * @param maxDepth
      *            maximum depth
      */
-    public FileDepthSelector(int minDepth, int maxDepth)
+    public FileDepthSelector(final int minDepth, final int maxDepth)
     {
         this.minDepth = minDepth;
         this.maxDepth = maxDepth;
@@ -52,7 +52,7 @@ public class FileDepthSelector implement
      *            minimum and maximum depth
      * @since 2.1
      */
-    public FileDepthSelector(int minMaxDepth)
+    public FileDepthSelector(final int minMaxDepth)
     {
         this(minMaxDepth, minMaxDepth);
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileExtensionSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileExtensionSelector.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileExtensionSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileExtensionSelector.java Mon Dec  3 13:37:12 2012
@@ -47,7 +47,7 @@ public class FileExtensionSelector imple
      * @param extensions
      *            The extensions to be included by this selector.
      */
-    public FileExtensionSelector(Collection<String> extensions)
+    public FileExtensionSelector(final Collection<String> extensions)
     {
         if (extensions != null)
         {
@@ -61,7 +61,7 @@ public class FileExtensionSelector imple
      * @param extensions
      *            The extensions to be included by this selector.
      */
-    public FileExtensionSelector(String... extensions)
+    public FileExtensionSelector(final String... extensions)
     {
         if (extensions != null)
         {
@@ -83,7 +83,7 @@ public class FileExtensionSelector imple
         {
             return false;
         }
-        for (String extension : this.extensions)
+        for (final String extension : this.extensions)
         {
             if (fileInfo.getFile().getName().getExtension().equalsIgnoreCase(extension))
             {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileFilterSelector.java Mon Dec  3 13:37:12 2012
@@ -34,7 +34,7 @@ public class FileFilterSelector extends 
         this(null);
     }
 
-    public FileFilterSelector(FileFilter fileFilter)
+    public FileFilterSelector(final FileFilter fileFilter)
     {
         super(1, 1);
         this.fileFilter = fileFilter;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFolderException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFolderException.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFolderException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFolderException.java Mon Dec  3 13:37:12 2012
@@ -32,7 +32,7 @@ public class FileNotFolderException exte
         super("vfs.provider/list-children-not-folder.error", info0);
     }
 
-    public FileNotFolderException(Object info0, Throwable throwable)
+    public FileNotFolderException(final Object info0, final Throwable throwable)
     {
         super("vfs.provider/list-children-not-folder.error", info0, throwable);
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFoundException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFoundException.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFoundException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileNotFoundException.java Mon Dec  3 13:37:12 2012
@@ -32,7 +32,7 @@ public class FileNotFoundException exten
         super("vfs.provider/read-not-file.error", info0);
     }
 
-    public FileNotFoundException(Object info0, Throwable throwable)
+    public FileNotFoundException(final Object info0, final Throwable throwable)
     {
         super("vfs.provider/read-not-file.error", info0, throwable);
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemConfigBuilder.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemConfigBuilder.java Mon Dec  3 13:37:12 2012
@@ -36,7 +36,7 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected FileSystemConfigBuilder(String component)
+    protected FileSystemConfigBuilder(final String component)
     {
         this.prefix = PREFIX + component;
     }
@@ -47,7 +47,7 @@ public abstract class FileSystemConfigBu
      * @param rootURI The creator name to be associated with the file.
      * @since 2.0
      */
-    public void setRootURI(FileSystemOptions opts, String rootURI)
+    public void setRootURI(final FileSystemOptions opts, final String rootURI)
     {
         setParam(opts, ROOTURI, rootURI);
     }
@@ -58,7 +58,7 @@ public abstract class FileSystemConfigBu
      * @return The root URI.
      * @since 2.0
      */
-    public String getRootURI(FileSystemOptions opts)
+    public String getRootURI(final FileSystemOptions opts)
     {
         return getString(opts, ROOTURI);
     }
@@ -66,17 +66,17 @@ public abstract class FileSystemConfigBu
     /**
      * @since 2.1
      */
-    protected void setParam(FileSystemOptions opts, String name, boolean value)
+    protected void setParam(final FileSystemOptions opts, final String name, final boolean value)
     {
         setParam(opts, name, Boolean.valueOf(value));
     }
 
-    protected void setParam(FileSystemOptions opts, String name, Object value)
+    protected void setParam(final FileSystemOptions opts, final String name, final Object value)
     {
         opts.setOption(getConfigClass(), name, value);
     }
 
-    protected Object getParam(FileSystemOptions opts, String name)
+    protected Object getParam(final FileSystemOptions opts, final String name)
     {
         if (opts == null)
         {
@@ -92,41 +92,41 @@ public abstract class FileSystemConfigBu
      * @param name The name to lookup combined with the prefix.
      * @return a system property.
      */
-    private String getProperty(String name)
+    private String getProperty(final String name)
     {
         return System.getProperty(toPropertyKey(name));
     }
 
-    protected boolean hasParam(FileSystemOptions opts, String name)
+    protected boolean hasParam(final FileSystemOptions opts, final String name)
     {
         return opts != null && opts.hasOption(getConfigClass(), name);
     }
 
     /** @since 2.0 */
-    protected boolean hasObject(FileSystemOptions opts, String name)
+    protected boolean hasObject(final FileSystemOptions opts, final String name)
     {
         return hasParam(opts, name) || System.getProperties().containsKey(toPropertyKey(name));
     }
 
     /** @since 2.0 */
-    protected Boolean getBoolean(FileSystemOptions opts, String name)
+    protected Boolean getBoolean(final FileSystemOptions opts, final String name)
     {
         return getBoolean(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected boolean getBoolean(FileSystemOptions opts, String name, boolean defaultValue)
+    protected boolean getBoolean(final FileSystemOptions opts, final String name, final boolean defaultValue)
     {
         return getBoolean(opts, name, Boolean.valueOf(defaultValue)).booleanValue();
     }
 
     /** @since 2.0 */
-    protected Boolean getBoolean(FileSystemOptions opts, String name, Boolean defaultValue)
+    protected Boolean getBoolean(final FileSystemOptions opts, final String name, final Boolean defaultValue)
     {
         Boolean value = (Boolean) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null)
             {
                 return defaultValue;
@@ -137,24 +137,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Byte getByte(FileSystemOptions opts, String name)
+    protected Byte getByte(final FileSystemOptions opts, final String name)
     {
         return getByte(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected byte getByte(FileSystemOptions opts, String name, byte defaultValue)
+    protected byte getByte(final FileSystemOptions opts, final String name, final byte defaultValue)
     {
         return getByte(opts, name, Byte.valueOf(defaultValue)).byteValue();
     }
 
     /** @since 2.0 */
-    protected Byte getByte(FileSystemOptions opts, String name, Byte defaultValue)
+    protected Byte getByte(final FileSystemOptions opts, final String name, final Byte defaultValue)
     {
         Byte value = (Byte) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null)
             {
                 return defaultValue;
@@ -165,24 +165,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Character getCharacter(FileSystemOptions opts, String name)
+    protected Character getCharacter(final FileSystemOptions opts, final String name)
     {
         return getCharacter(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected char getCharacter(FileSystemOptions opts, String name, char defaultValue)
+    protected char getCharacter(final FileSystemOptions opts, final String name, final char defaultValue)
     {
         return getCharacter(opts, name, new Character(defaultValue)).charValue();
     }
 
     /** @since 2.0 */
-    protected Character getCharacter(FileSystemOptions opts, String name, Character defaultValue)
+    protected Character getCharacter(final FileSystemOptions opts, final String name, final Character defaultValue)
     {
         Character value = (Character) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null || str.length() <= 0)
             {
                 return defaultValue;
@@ -193,24 +193,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Double getDouble(FileSystemOptions opts, String name)
+    protected Double getDouble(final FileSystemOptions opts, final String name)
     {
         return getDouble(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected double getDouble(FileSystemOptions opts, String name, double defaultValue)
+    protected double getDouble(final FileSystemOptions opts, final String name, final double defaultValue)
     {
         return getDouble(opts, name, new Double(defaultValue)).doubleValue();
     }
 
     /** @since 2.0 */
-    protected Double getDouble(FileSystemOptions opts, String name, Double defaultValue)
+    protected Double getDouble(final FileSystemOptions opts, final String name, final Double defaultValue)
     {
         Double value = (Double) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null || str.length() <= 0)
             {
                 return defaultValue;
@@ -221,24 +221,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Float getFloat(FileSystemOptions opts, String name)
+    protected Float getFloat(final FileSystemOptions opts, final String name)
     {
         return getFloat(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected float getFloat(FileSystemOptions opts, String name, float defaultValue)
+    protected float getFloat(final FileSystemOptions opts, final String name, final float defaultValue)
     {
         return getFloat(opts, name, new Float(defaultValue)).floatValue();
     }
 
     /** @since 2.0 */
-    protected Float getFloat(FileSystemOptions opts, String name, Float defaultValue)
+    protected Float getFloat(final FileSystemOptions opts, final String name, final Float defaultValue)
     {
         Float value = (Float) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null || str.length() <= 0)
             {
                 return defaultValue;
@@ -249,24 +249,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Integer getInteger(FileSystemOptions opts, String name)
+    protected Integer getInteger(final FileSystemOptions opts, final String name)
     {
         return getInteger(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected int getInteger(FileSystemOptions opts, String name, int defaultValue)
+    protected int getInteger(final FileSystemOptions opts, final String name, final int defaultValue)
     {
         return getInteger(opts, name, Integer.valueOf(defaultValue)).intValue();
     }
 
     /** @since 2.0 */
-    protected Integer getInteger(FileSystemOptions opts, String name, Integer defaultValue)
+    protected Integer getInteger(final FileSystemOptions opts, final String name, final Integer defaultValue)
     {
         Integer value = (Integer) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null)
             {
                 return defaultValue;
@@ -277,24 +277,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Long getLong(FileSystemOptions opts, String name)
+    protected Long getLong(final FileSystemOptions opts, final String name)
     {
         return getLong(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected long getLong(FileSystemOptions opts, String name, long defaultValue)
+    protected long getLong(final FileSystemOptions opts, final String name, final long defaultValue)
     {
         return getLong(opts, name, Long.valueOf(defaultValue)).longValue();
     }
 
     /** @since 2.0 */
-    protected Long getLong(FileSystemOptions opts, String name, Long defaultValue)
+    protected Long getLong(final FileSystemOptions opts, final String name, final Long defaultValue)
     {
         Long value = (Long) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null)
             {
                 return defaultValue;
@@ -305,24 +305,24 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected Short getShort(FileSystemOptions opts, String name)
+    protected Short getShort(final FileSystemOptions opts, final String name)
     {
         return getShort(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected short getShort(FileSystemOptions opts, String name, short defaultValue)
+    protected short getShort(final FileSystemOptions opts, final String name, final short defaultValue)
     {
         return getShort(opts, name, Short.valueOf(defaultValue)).shortValue();
     }
 
     /** @since 2.0 */
-    protected Short getShort(FileSystemOptions opts, String name, Short defaultValue)
+    protected Short getShort(final FileSystemOptions opts, final String name, final Short defaultValue)
     {
         Short value = (Short) getParam(opts, name);
         if (value == null)
         {
-            String str = getProperty(name);
+            final String str = getProperty(name);
             if (str == null)
             {
                 return defaultValue;
@@ -333,13 +333,13 @@ public abstract class FileSystemConfigBu
     }
 
     /** @since 2.0 */
-    protected String getString(FileSystemOptions opts, String name)
+    protected String getString(final FileSystemOptions opts, final String name)
     {
         return getString(opts, name, null);
     }
 
     /** @since 2.0 */
-    protected String getString(FileSystemOptions opts, String name, String defaultValue)
+    protected String getString(final FileSystemOptions opts, final String name, final String defaultValue)
     {
         String value = (String) getParam(opts, name);
         if (value == null)
@@ -361,7 +361,7 @@ public abstract class FileSystemConfigBu
      * @param name a name to combine with the builder prefix.
      * @return a System property key for this builder.
      */
-    private String toPropertyKey(String name)
+    private String toPropertyKey(final String name)
     {
         return this.prefix + name;
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java Mon Dec  3 13:37:12 2012
@@ -41,7 +41,7 @@ public final class FileSystemOptions imp
         this(new TreeMap<FileSystemOptionKey, Object>());
     }
 
-    protected FileSystemOptions(Map<FileSystemOptionKey, Object> options)
+    protected FileSystemOptions(final Map<FileSystemOptionKey, Object> options)
     {
         this.options = options;
     }
@@ -62,16 +62,16 @@ public final class FileSystemOptions imp
 
         // TODO: the parameter name suggests that the class should only be a
         // a FileSystem, however some of the tests pass in DefaultFileSystemConfigBuilder
-        private FileSystemOptionKey(Class<? extends FileSystem> fileSystemClass, String name)
+        private FileSystemOptionKey(final Class<? extends FileSystem> fileSystemClass, final String name)
         {
             this.fileSystemClass = fileSystemClass;
             this.name = name;
         }
 
         @Override
-        public int compareTo(FileSystemOptionKey o)
+        public int compareTo(final FileSystemOptionKey o)
         {
-            int ret = fileSystemClass.getName().compareTo(o.fileSystemClass.getName());
+            final int ret = fileSystemClass.getName().compareTo(o.fileSystemClass.getName());
             if (ret != 0)
             {
                 return ret;
@@ -80,7 +80,7 @@ public final class FileSystemOptions imp
         }
 
         @Override
-        public boolean equals(Object o)
+        public boolean equals(final Object o)
         {
             if (this == o)
             {
@@ -115,24 +115,24 @@ public final class FileSystemOptions imp
         }
     }
 
-    void setOption(Class<? extends FileSystem> fileSystemClass, String name, Object value)
+    void setOption(final Class<? extends FileSystem> fileSystemClass, final String name, final Object value)
     {
         options.put(new FileSystemOptionKey(fileSystemClass, name), value);
     }
 
-    Object getOption(Class<? extends FileSystem> fileSystemClass, String name)
+    Object getOption(final Class<? extends FileSystem> fileSystemClass, final String name)
     {
-        FileSystemOptionKey key = new FileSystemOptionKey(fileSystemClass, name);
+        final FileSystemOptionKey key = new FileSystemOptionKey(fileSystemClass, name);
         return options.get(key);
     }
 
-    boolean hasOption(Class<? extends FileSystem> fileSystemClass, String name)
+    boolean hasOption(final Class<? extends FileSystem> fileSystemClass, final String name)
     {
-        FileSystemOptionKey key = new FileSystemOptionKey(fileSystemClass, name);
+        final FileSystemOptionKey key = new FileSystemOptionKey(fileSystemClass, name);
         return options.containsKey(key);
     }
 
-    public int compareTo(FileSystemOptions other)
+    public int compareTo(final FileSystemOptions other)
     {
         if (this == other)
         {
@@ -140,8 +140,8 @@ public final class FileSystemOptions imp
             return 0;
         }
 
-        int propsSz = options == null ? 0 : options.size();
-        int propsFkSz = other.options == null ? 0 : other.options.size();
+        final int propsSz = options == null ? 0 : options.size();
+        final int propsFkSz = other.options == null ? 0 : other.options.size();
         if (propsSz < propsFkSz)
         {
             return -1;
@@ -156,8 +156,8 @@ public final class FileSystemOptions imp
             return 0;
         }
 
-        int hash = options.hashCode();
-        int hashFk = other.options.hashCode();
+        final int hash = options.hashCode();
+        final int hashFk = other.options.hashCode();
         if (hash < hashFk)
         {
             return -1;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeHasNoContentException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeHasNoContentException.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeHasNoContentException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeHasNoContentException.java Mon Dec  3 13:37:12 2012
@@ -33,7 +33,7 @@ public class FileTypeHasNoContentExcepti
         super("vfs.provider/read-not-file.error", info0);
     }
 
-    public FileTypeHasNoContentException(Object info0, Throwable throwable)
+    public FileTypeHasNoContentException(final Object info0, final Throwable throwable)
     {
         super("vfs.provider/read-not-file.error", info0, throwable);
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/PatternFileSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/PatternFileSelector.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/PatternFileSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/PatternFileSelector.java Mon Dec  3 13:37:12 2012
@@ -37,7 +37,7 @@ public class PatternFileSelector impleme
      * @param pattern
      *            The regular expressed used by this selector.
      */
-    public PatternFileSelector(Pattern pattern)
+    public PatternFileSelector(final Pattern pattern)
     {
         this.pattern = pattern;
     }
@@ -48,7 +48,7 @@ public class PatternFileSelector impleme
      * @param regex
      *            The regular expressed used by this selector.
      */
-    public PatternFileSelector(String regex)
+    public PatternFileSelector(final String regex)
     {
         this(Pattern.compile(regex));
     }
@@ -64,7 +64,7 @@ public class PatternFileSelector impleme
      *
      * @see Pattern#compile(String, int)
      */
-    public PatternFileSelector(String regex, int flags)
+    public PatternFileSelector(final String regex, final int flags)
     {
         this(Pattern.compile(regex, flags));
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/UserAuthenticationData.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/UserAuthenticationData.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/UserAuthenticationData.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/UserAuthenticationData.java Mon Dec  3 13:37:12 2012
@@ -38,13 +38,13 @@ public class UserAuthenticationData
          *
          * @param type the type
          */
-        public Type(String type)
+        public Type(final String type)
         {
             this.type = type;
         }
 
         @Override
-        public boolean equals(Object o)
+        public boolean equals(final Object o)
         {
             if (this == o)
             {
@@ -55,7 +55,7 @@ public class UserAuthenticationData
                 return false;
             }
 
-            Type type1 = (Type) o;
+            final Type type1 = (Type) o;
 
             if (type != null ? !type.equals(type1.type) : type1.type != null)
             {
@@ -66,7 +66,7 @@ public class UserAuthenticationData
         }
 
         @Override
-        public int compareTo(Type o)
+        public int compareTo(final Type o)
         {
             return type.compareTo(o.type);
         }
@@ -117,7 +117,7 @@ public class UserAuthenticationData
      * @param type The Type to add
      * @param data The data associated with the Type
      */
-    public void setData(Type type, char[] data)
+    public void setData(final Type type, final char[] data)
     {
         authenticationData.put(type, data);
     }
@@ -127,7 +127,7 @@ public class UserAuthenticationData
      * @param type The Type to retrieve.
      * @return a character array containing the data associated with the type.
      */
-    public char[] getData(Type type)
+    public char[] getData(final Type type)
     {
         return authenticationData.get(type);
     }
@@ -138,10 +138,10 @@ public class UserAuthenticationData
     public void cleanup()
     {
         // step 1: nullify character buffers
-        Iterator<char[]> iterAuthenticationData = authenticationData.values().iterator();
+        final Iterator<char[]> iterAuthenticationData = authenticationData.values().iterator();
         while (iterAuthenticationData.hasNext())
         {
-            char[] data = iterAuthenticationData.next();
+            final char[] data = iterAuthenticationData.next();
             if (data == null || data.length < 0)
             {
                 continue;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VFS.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VFS.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VFS.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VFS.java Mon Dec  3 13:37:12 2012
@@ -115,7 +115,7 @@ public final class VFS
         return uriStyle.booleanValue();
     }
 
-    public static void setUriStyle(boolean uriStyle)
+    public static void setUriStyle(final boolean uriStyle)
     {
         if (VFS.uriStyle != null && VFS.uriStyle.booleanValue() != uriStyle)
         {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VfsLog.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VfsLog.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VfsLog.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/VfsLog.java Mon Dec  3 13:37:12 2012
@@ -37,7 +37,7 @@ public final class VfsLog
      * @param message The message to log.
      * @param t The exception, if any.
      */
-    public static void warn(Log vfslog, Log commonslog, String message, Throwable t)
+    public static void warn(final Log vfslog, final Log commonslog, final String message, final Throwable t)
     {
         if (vfslog != null)
         {
@@ -55,7 +55,7 @@ public final class VfsLog
      * @param commonslog The class specific Logger
      * @param message The message to log.
      */
-    public static void warn(Log vfslog, Log commonslog, String message)
+    public static void warn(final Log vfslog, final Log commonslog, final String message)
     {
         if (vfslog != null)
         {
@@ -73,7 +73,7 @@ public final class VfsLog
      * @param commonslog The class specific Logger
      * @param message The message to log.
      */
-    public static void debug(Log vfslog, Log commonslog, String message)
+    public static void debug(final Log vfslog, final Log commonslog, final String message)
     {
         if (vfslog != null)
         {
@@ -92,7 +92,7 @@ public final class VfsLog
      * @param message The message to log.
      * @param t The exception, if any.
      */
-    public static void debug(Log vfslog, Log commonslog, String message, Throwable t)
+    public static void debug(final Log vfslog, final Log commonslog, final String message, final Throwable t)
     {
         if (vfslog != null)
         {
@@ -111,7 +111,7 @@ public final class VfsLog
      * @param message The message to log.
      * @param t The exception, if any.
      */
-    public static void info(Log vfslog, Log commonslog, String message, Throwable t)
+    public static void info(final Log vfslog, final Log commonslog, final String message, final Throwable t)
     {
         if (vfslog != null)
         {
@@ -129,7 +129,7 @@ public final class VfsLog
      * @param commonslog The class specific Logger
      * @param message The message to log.
      */
-    public static void info(Log vfslog, Log commonslog, String message)
+    public static void info(final Log vfslog, final Log commonslog, final String message)
     {
         if (vfslog != null)
         {
@@ -148,7 +148,7 @@ public final class VfsLog
      * @param message The message to log.
      * @param t The exception, if any.
      */
-    public static void error(Log vfslog, Log commonslog, String message, Throwable t)
+    public static void error(final Log vfslog, final Log commonslog, final String message, final Throwable t)
     {
         if (vfslog != null)
         {
@@ -166,7 +166,7 @@ public final class VfsLog
      * @param commonslog The class specific Logger
      * @param message The message to log.
      */
-    public static void error(Log vfslog, Log commonslog, String message)
+    public static void error(final Log vfslog, final Log commonslog, final String message)
     {
         if (vfslog != null)
         {
@@ -185,7 +185,7 @@ public final class VfsLog
      * @param message The message to log.
      * @param t The exception, if any.
      */
-    public static void fatal(Log vfslog, Log commonslog, String message, Throwable t)
+    public static void fatal(final Log vfslog, final Log commonslog, final String message, final Throwable t)
     {
         if (vfslog != null)
         {
@@ -203,7 +203,7 @@ public final class VfsLog
      * @param commonslog The class specific Logger
      * @param message The message to log.
      */
-    public static void fatal(Log vfslog, Log commonslog, String message)
+    public static void fatal(final Log vfslog, final Log commonslog, final String message)
     {
         if (vfslog != null)
         {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java Mon Dec  3 13:37:12 2012
@@ -34,7 +34,7 @@ public class StaticUserAuthenticator imp
     /** The user's domain */
     private final String domain;
 
-    public StaticUserAuthenticator(String domain, String username, String password)
+    public StaticUserAuthenticator(final String domain, final String username, final String password)
     {
         this.username = username;
         this.password = password;
@@ -42,9 +42,9 @@ public class StaticUserAuthenticator imp
     }
 
     @Override
-    public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
+    public UserAuthenticationData requestAuthentication(final UserAuthenticationData.Type[] types)
     {
-        UserAuthenticationData data = new UserAuthenticationData();
+        final UserAuthenticationData data = new UserAuthenticationData();
         data.setData(UserAuthenticationData.DOMAIN, UserAuthenticatorUtils.toChar(domain));
         data.setData(UserAuthenticationData.USERNAME, UserAuthenticatorUtils.toChar(username));
         data.setData(UserAuthenticationData.PASSWORD, UserAuthenticatorUtils.toChar(password));
@@ -72,7 +72,7 @@ public class StaticUserAuthenticator imp
      * @since 2.0
      */
     @Override
-    public boolean equals(Object obj)
+    public boolean equals(final Object obj)
     {
         if (this == obj)
         {
@@ -89,7 +89,7 @@ public class StaticUserAuthenticator imp
             return false;
         }
 
-        StaticUserAuthenticator other = (StaticUserAuthenticator) obj;
+        final StaticUserAuthenticator other = (StaticUserAuthenticator) obj;
         return equalsNullsafe(domain, other.domain)
                 && equalsNullsafe(username, other.username)
                 && equalsNullsafe(password, other.password);
@@ -158,7 +158,7 @@ public class StaticUserAuthenticator imp
     @Override
     public String toString()
     {
-        StringBuilder buffer = new StringBuilder();
+        final StringBuilder buffer = new StringBuilder();
         if (domain != null)
         {
             buffer.append(domain).append('\\');

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/DefaultFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/DefaultFilesCache.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/DefaultFilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/DefaultFilesCache.java Mon Dec  3 13:37:12 2012
@@ -39,32 +39,32 @@ public class DefaultFilesCache extends A
     @Override
     public void putFile(final FileObject file)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
         files.put(file.getName(), file);
     }
 
     @Override
     public boolean putFileIfAbsent(final FileObject file)
     {
-        ConcurrentMap<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
+        final ConcurrentMap<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
         return files.putIfAbsent(file.getName(), file) == null;
     }
 
     @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
         return files.get(name);
     }
 
     @Override
-    public void clear(FileSystem filesystem)
+    public void clear(final FileSystem filesystem)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
         files.clear();
     }
 
-    protected ConcurrentMap<FileName, FileObject> getOrCreateFilesystemCache(FileSystem filesystem)
+    protected ConcurrentMap<FileName, FileObject> getOrCreateFilesystemCache(final FileSystem filesystem)
     {
         ConcurrentMap<FileName, FileObject> files = filesystemCache.get(filesystem);
         if (files == null)
@@ -85,13 +85,13 @@ public class DefaultFilesCache extends A
     }
 
     @Override
-    public void removeFile(FileSystem filesystem, FileName name)
+    public void removeFile(final FileSystem filesystem, final FileName name)
     {
-        Map<?, ?> files = getOrCreateFilesystemCache(filesystem);
+        final Map<?, ?> files = getOrCreateFilesystemCache(filesystem);
         files.remove(name);
     }
 
-    public void touchFile(FileObject file)
+    public void touchFile(final FileObject file)
     {
     }
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java Mon Dec  3 13:37:12 2012
@@ -45,7 +45,7 @@ class FileSystemAndNameKey implements Co
     }
 
     @Override
-    public int compareTo(FileSystemAndNameKey other)
+    public int compareTo(final FileSystemAndNameKey other)
     {
         if (fileSystemId < other.fileSystemId)
         {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/LRUFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/LRUFilesCache.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/LRUFilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/LRUFilesCache.java Mon Dec  3 13:37:12 2012
@@ -71,7 +71,7 @@ public class LRUFilesCache extends Abstr
         /** The FileSystem */
         private final FileSystem filesystem;
 
-        public MyLRUMap(final FileSystem filesystem, int size)
+        public MyLRUMap(final FileSystem filesystem, final int size)
         {
             super(size, true);
             this.filesystem = filesystem;
@@ -82,7 +82,7 @@ public class LRUFilesCache extends Abstr
         {
             synchronized (LRUFilesCache.this)
             {
-                FileObject file = (FileObject) linkEntry.getValue();
+                final FileObject file = (FileObject) linkEntry.getValue();
 
                 // System.err.println(">>> " + size() + " check removeLRU:" + linkEntry.getKey().toString());
 
@@ -103,12 +103,12 @@ public class LRUFilesCache extends Abstr
                         // force detach
                         file.close();
                     }
-                    catch (FileSystemException e)
+                    catch (final FileSystemException e)
                     {
                         VfsLog.warn(getLogger(), log, Messages.getString("vfs.impl/LRUFilesCache-remove-ex.warn"), e);
                     }
 
-                    Map<?, ?> files = filesystemCache.get(filesystem);
+                    final Map<?, ?> files = filesystemCache.get(filesystem);
                     if (files.size() < 1)
                     {
                         filesystemCache.remove(filesystem);
@@ -135,7 +135,7 @@ public class LRUFilesCache extends Abstr
      *
      * @param lruSize the LRU size
      */
-    public LRUFilesCache(int lruSize)
+    public LRUFilesCache(final int lruSize)
     {
         this.lruSize = lruSize;
     }
@@ -143,7 +143,7 @@ public class LRUFilesCache extends Abstr
     @Override
     public void putFile(final FileObject file)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
 
         writeLock.lock();
         try
@@ -162,12 +162,12 @@ public class LRUFilesCache extends Abstr
     @Override
     public boolean putFileIfAbsent(final FileObject file)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
 
         writeLock.lock();
         try
         {
-            FileName name = file.getName();
+            final FileName name = file.getName();
 
             // System.err.println(">>> " + files.size() + " put:" + file.toString());
             if (files.containsKey(name))
@@ -187,7 +187,7 @@ public class LRUFilesCache extends Abstr
     @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
 
         readLock.lock();
         try
@@ -206,7 +206,7 @@ public class LRUFilesCache extends Abstr
     @Override
     public void clear(final FileSystem filesystem)
     {
-        Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
+        final Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
 
         writeLock.lock();
         try
@@ -251,7 +251,7 @@ public class LRUFilesCache extends Abstr
     @Override
     public void removeFile(final FileSystem filesystem, final FileName name)
     {
-        Map<?, ?> files = getOrCreateFilesystemCache(filesystem);
+        final Map<?, ?> files = getOrCreateFilesystemCache(filesystem);
 
         writeLock.lock();
         try

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/NullFilesCache.java Mon Dec  3 13:37:12 2012
@@ -51,7 +51,7 @@ public class NullFilesCache extends Abst
     }
 
     @Override
-    public void clear(FileSystem filesystem)
+    public void clear(final FileSystem filesystem)
     {
     }
 
@@ -62,11 +62,11 @@ public class NullFilesCache extends Abst
     }
 
     @Override
-    public void removeFile(FileSystem filesystem, FileName name)
+    public void removeFile(final FileSystem filesystem, final FileName name)
     {
     }
 
-    public void touchFile(FileObject file)
+    public void touchFile(final FileObject file)
     {
     }
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/OnCallRefreshFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/OnCallRefreshFileObject.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/OnCallRefreshFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/OnCallRefreshFileObject.java Mon Dec  3 13:37:12 2012
@@ -31,7 +31,7 @@ import org.apache.commons.vfs2.impl.Deco
  */
 public class OnCallRefreshFileObject extends DecoratedFileObject
 {
-    public OnCallRefreshFileObject(FileObject fileObject)
+    public OnCallRefreshFileObject(final FileObject fileObject)
     {
         super(fileObject);
     }
@@ -44,7 +44,7 @@ public class OnCallRefreshFileObject ext
     }
 
     @Override
-    public void copyFrom(FileObject srcFile, FileSelector selector) throws FileSystemException
+    public void copyFrom(final FileObject srcFile, final FileSelector selector) throws FileSystemException
     {
         refresh();
         super.copyFrom(srcFile, selector);
@@ -72,7 +72,7 @@ public class OnCallRefreshFileObject ext
     }
 
     @Override
-    public int delete(FileSelector selector) throws FileSystemException
+    public int delete(final FileSelector selector) throws FileSystemException
     {
         refresh();
         return super.delete(selector);
@@ -86,7 +86,7 @@ public class OnCallRefreshFileObject ext
     }
 
     @Override
-    public void findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected)
+    public void findFiles(final FileSelector selector, final boolean depthwise, final List<FileObject> selected)
         throws FileSystemException
     {
         refresh();
@@ -94,14 +94,14 @@ public class OnCallRefreshFileObject ext
     }
 
     @Override
-    public FileObject[] findFiles(FileSelector selector) throws FileSystemException
+    public FileObject[] findFiles(final FileSelector selector) throws FileSystemException
     {
         refresh();
         return super.findFiles(selector);
     }
 
     @Override
-    public FileObject getChild(String name) throws FileSystemException
+    public FileObject getChild(final String name) throws FileSystemException
     {
         refresh();
         return super.getChild(name);
@@ -157,42 +157,42 @@ public class OnCallRefreshFileObject ext
     }
 
     @Override
-    public boolean setExecutable(boolean executable, boolean ownerOnly) throws FileSystemException
+    public boolean setExecutable(final boolean executable, final boolean ownerOnly) throws FileSystemException
     {
         refresh();
         return super.setExecutable(executable, ownerOnly);
     }
 
     @Override
-    public boolean setReadable(boolean readable, boolean ownerOnly) throws FileSystemException
+    public boolean setReadable(final boolean readable, final boolean ownerOnly) throws FileSystemException
     {
         refresh();
         return super.setReadable(readable, ownerOnly);
     }
 
     @Override
-    public boolean setWritable(boolean writable, boolean ownerOnly) throws FileSystemException
+    public boolean setWritable(final boolean writable, final boolean ownerOnly) throws FileSystemException
     {
         refresh();
         return super.setWritable(writable, ownerOnly);
     }
 
     @Override
-    public void moveTo(FileObject destFile) throws FileSystemException
+    public void moveTo(final FileObject destFile) throws FileSystemException
     {
         refresh();
         super.moveTo(destFile);
     }
 
     @Override
-    public FileObject resolveFile(String name, NameScope scope) throws FileSystemException
+    public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException
     {
         refresh();
         return super.resolveFile(name, scope);
     }
 
     @Override
-    public FileObject resolveFile(String path) throws FileSystemException
+    public FileObject resolveFile(final String path) throws FileSystemException
     {
         refresh();
         return super.resolveFile(path);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/SoftRefFilesCache.java Mon Dec  3 13:37:12 2012
@@ -85,7 +85,7 @@ public class SoftRefFilesCache extends A
             {
                 try
                 {
-                    Reference<?> ref = refQueue.remove(TIMEOUT);
+                    final Reference<?> ref = refQueue.remove(TIMEOUT);
                     if (ref == null)
                     {
                         continue;
@@ -94,7 +94,7 @@ public class SoftRefFilesCache extends A
                     lock.lock();
                     try
                     {
-                        FileSystemAndNameKey key = refReverseMap.get(ref);
+                        final FileSystemAndNameKey key = refReverseMap.get(ref);
 
                         if (key != null)
                         {
@@ -109,7 +109,7 @@ public class SoftRefFilesCache extends A
                         lock.unlock();
                     }
                 }
-                catch (InterruptedException e)
+                catch (final InterruptedException e)
                 {
                     if (!requestEnd)
                     {
@@ -148,7 +148,7 @@ public class SoftRefFilesCache extends A
 
     private void endThread()
     {
-        SoftRefReleaseThread thread = softRefReleaseThread.getAndSet(null);
+        final SoftRefReleaseThread thread = softRefReleaseThread.getAndSet(null);
         if (thread != null)
         {
             thread.requestEnd = true;
@@ -164,15 +164,15 @@ public class SoftRefFilesCache extends A
             log.debug("putFile: " + this.getSafeName(fileObject));
         }
 
-        Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
+        final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
 
-        Reference<FileObject> ref = createReference(fileObject, refQueue);
-        FileSystemAndNameKey key = new FileSystemAndNameKey(fileObject.getFileSystem(), fileObject.getName());
+        final Reference<FileObject> ref = createReference(fileObject, refQueue);
+        final FileSystemAndNameKey key = new FileSystemAndNameKey(fileObject.getFileSystem(), fileObject.getName());
 
         lock.lock();
         try
         {
-            Reference<FileObject> old = files.put(fileObject.getName(), ref);
+            final Reference<FileObject> old = files.put(fileObject.getName(), ref);
             if (old != null)
             {
                 refReverseMap.remove(old);
@@ -203,10 +203,10 @@ public class SoftRefFilesCache extends A
             log.debug("putFile: " + this.getSafeName(fileObject));
         }
 
-        Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
+        final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileObject.getFileSystem());
 
-        Reference<FileObject> ref = createReference(fileObject, refQueue);
-        FileSystemAndNameKey key = new FileSystemAndNameKey(fileObject.getFileSystem(), fileObject.getName());
+        final Reference<FileObject> ref = createReference(fileObject, refQueue);
+        final FileSystemAndNameKey key = new FileSystemAndNameKey(fileObject.getFileSystem(), fileObject.getName());
 
         lock.lock();
         try
@@ -215,7 +215,7 @@ public class SoftRefFilesCache extends A
             {
                 return false;
             }
-            Reference<FileObject> old = files.put(fileObject.getName(), ref);
+            final Reference<FileObject> old = files.put(fileObject.getName(), ref);
             if (old != null)
             {
                 refReverseMap.remove(old);
@@ -229,7 +229,7 @@ public class SoftRefFilesCache extends A
         }
     }
 
-    protected Reference<FileObject> createReference(FileObject file, ReferenceQueue<FileObject> refqueue)
+    protected Reference<FileObject> createReference(final FileObject file, final ReferenceQueue<FileObject> refqueue)
     {
         return new SoftReference<FileObject>(file, refqueue);
     }
@@ -237,18 +237,18 @@ public class SoftRefFilesCache extends A
     @Override
     public FileObject getFile(final FileSystem fileSystem, final FileName fileName)
     {
-        Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileSystem);
+        final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileSystem);
 
         lock.lock();
         try
         {
-            Reference<FileObject> ref = files.get(fileName);
+            final Reference<FileObject> ref = files.get(fileName);
             if (ref == null)
             {
                 return null;
             }
 
-            FileObject fo = ref.get();
+            final FileObject fo = ref.get();
             if (fo == null)
             {
                 removeFile(fileSystem, fileName);
@@ -262,17 +262,17 @@ public class SoftRefFilesCache extends A
     }
 
     @Override
-    public void clear(FileSystem fileSystem)
+    public void clear(final FileSystem fileSystem)
     {
-        Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileSystem);
+        final Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(fileSystem);
 
         lock.lock();
         try
         {
-            Iterator<FileSystemAndNameKey> iterKeys = refReverseMap.values().iterator();
+            final Iterator<FileSystemAndNameKey> iterKeys = refReverseMap.values().iterator();
             while (iterKeys.hasNext())
             {
-                FileSystemAndNameKey key = iterKeys.next();
+                final FileSystemAndNameKey key = iterKeys.next();
                 if (key.getFileSystem() == fileSystem)
                 {
                     iterKeys.remove();
@@ -295,7 +295,7 @@ public class SoftRefFilesCache extends A
      * Called while the lock is held
      * @param fileSystem The file system to close.
      */
-    private void close(FileSystem fileSystem)
+    private void close(final FileSystem fileSystem)
     {
         if (log.isDebugEnabled())
         {
@@ -334,7 +334,7 @@ public class SoftRefFilesCache extends A
     }
 
     @Override
-    public void removeFile(FileSystem fileSystem, FileName fileName)
+    public void removeFile(final FileSystem fileSystem, final FileName fileName)
     {
         if (removeFile(new FileSystemAndNameKey(fileSystem, fileName)))
         {
@@ -342,7 +342,7 @@ public class SoftRefFilesCache extends A
         }
     }
 
-    public void touchFile(FileObject fileObject)
+    public void touchFile(final FileObject fileObject)
     {
     }
 
@@ -353,12 +353,12 @@ public class SoftRefFilesCache extends A
             log.debug("removeFile: " + this.getSafeName(key.getFileName()));
         }
 
-        Map<?, ?> files = getOrCreateFilesystemCache(key.getFileSystem());
+        final Map<?, ?> files = getOrCreateFilesystemCache(key.getFileSystem());
 
         lock.lock();
         try
         {
-            Object ref = files.remove(key.getFileName());
+            final Object ref = files.remove(key.getFileName());
             if (ref != null)
             {
                 refReverseMap.remove(ref);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/WeakRefFilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/WeakRefFilesCache.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/WeakRefFilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/cache/WeakRefFilesCache.java Mon Dec  3 13:37:12 2012
@@ -34,7 +34,7 @@ import org.apache.commons.vfs2.FileObjec
 public class WeakRefFilesCache extends SoftRefFilesCache
 {
     @Override
-    protected Reference<FileObject> createReference(FileObject file, ReferenceQueue<FileObject> refqueue)
+    protected Reference<FileObject> createReference(final FileObject file, final ReferenceQueue<FileObject> refqueue)
     {
         return new WeakReference<FileObject>(file, refqueue);
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java?rev=1416507&r1=1416506&r2=1416507&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java Mon Dec  3 13:37:12 2012
@@ -37,14 +37,14 @@ public class DecoratedFileObject impleme
 {
     private final FileObject decoratedFileObject;
 
-    public DecoratedFileObject(FileObject decoratedFileObject)
+    public DecoratedFileObject(final FileObject decoratedFileObject)
     {
         super();
         this.decoratedFileObject = decoratedFileObject;
     }
 
     @Override
-    public boolean canRenameTo(FileObject newfile)
+    public boolean canRenameTo(final FileObject newfile)
     {
         return decoratedFileObject.canRenameTo(newfile);
     }
@@ -56,13 +56,13 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public int compareTo(FileObject fo)
+    public int compareTo(final FileObject fo)
     {
         return decoratedFileObject.compareTo(fo);
     }
 
     @Override
-    public void copyFrom(FileObject srcFile, FileSelector selector) throws FileSystemException
+    public void copyFrom(final FileObject srcFile, final FileSelector selector) throws FileSystemException
     {
         decoratedFileObject.copyFrom(srcFile, selector);
     }
@@ -86,7 +86,7 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public int delete(FileSelector selector) throws FileSystemException
+    public int delete(final FileSelector selector) throws FileSystemException
     {
         return decoratedFileObject.delete(selector);
     }
@@ -104,20 +104,20 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public void findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected)
+    public void findFiles(final FileSelector selector, final boolean depthwise, final List<FileObject> selected)
         throws FileSystemException
     {
         decoratedFileObject.findFiles(selector, depthwise, selected);
     }
 
     @Override
-    public FileObject[] findFiles(FileSelector selector) throws FileSystemException
+    public FileObject[] findFiles(final FileSelector selector) throws FileSystemException
     {
         return decoratedFileObject.findFiles(selector);
     }
 
     @Override
-    public FileObject getChild(String name) throws FileSystemException
+    public FileObject getChild(final String name) throws FileSystemException
     {
         return decoratedFileObject.getChild(name);
     }
@@ -183,7 +183,7 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public boolean setReadable(boolean readable, boolean ownerOnly) throws FileSystemException
+    public boolean setReadable(final boolean readable, final boolean ownerOnly) throws FileSystemException
     {
         return decoratedFileObject.setReadable(readable, ownerOnly);
     }
@@ -195,13 +195,13 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public boolean setWritable(boolean writable, boolean ownerOnly) throws FileSystemException
+    public boolean setWritable(final boolean writable, final boolean ownerOnly) throws FileSystemException
     {
         return decoratedFileObject.setWritable(writable, ownerOnly);
     }
 
     @Override
-    public boolean setExecutable(boolean executable, boolean ownerOnly) throws FileSystemException
+    public boolean setExecutable(final boolean executable, final boolean ownerOnly) throws FileSystemException
     {
         return decoratedFileObject.setExecutable(executable, ownerOnly);
     }
@@ -213,19 +213,19 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public void moveTo(FileObject destFile) throws FileSystemException
+    public void moveTo(final FileObject destFile) throws FileSystemException
     {
         decoratedFileObject.moveTo(destFile);
     }
 
     @Override
-    public FileObject resolveFile(String name, NameScope scope) throws FileSystemException
+    public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException
     {
         return decoratedFileObject.resolveFile(name, scope);
     }
 
     @Override
-    public FileObject resolveFile(String path) throws FileSystemException
+    public FileObject resolveFile(final String path) throws FileSystemException
     {
         return decoratedFileObject.resolveFile(path);
     }



Mime
View raw message