commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1362493 [1/2] - 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 Tue, 17 Jul 2012 13:44:38 GMT
Author: ggregory
Date: Tue Jul 17 13:44:35 2012
New Revision: 1362493

URL: http://svn.apache.org/viewvc?rev=1362493&view=rev
Log:
@Override's (now that we are on Java 6)

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/AllFileSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java
    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/FileObject.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/FileTypeSelector.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/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/SoftRefFilesCache.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/DefaultFileContentInfo.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/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/VFSClassLoader.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/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/AbstractLayeredFileProvider.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/AbstractVfsComponent.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/DefaultFileSelectorInfo.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/FileSystemKey.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/LayeredFileNameParser.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/compressed/CompressedFileFileProvider.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/FtpFileProvider.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/FtpsClientWrapper.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/HttpFileProvider.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/local/DefaultLocalFileProvider.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/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/res/ResourceFileProvider.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/SftpFileProvider.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/TrustEveryoneUserInfo.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/Tbz2FileProvider.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TgzFileProvider.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/UrlFileNameParser.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/WebdavFileContentInfoFactory.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/ZipFileProvider.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/DefaultCryptor.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/WeakRefFileListener.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/provider/sftp/test/SftpProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/test/JunctionProviderConfig.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestConfig.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/ProviderWriteTests.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/VerifyingFileSelector.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/AllFileSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/AllFileSelector.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/AllFileSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/AllFileSelector.java Tue Jul 17 13:44:35 2012
@@ -27,6 +27,7 @@ public class AllFileSelector
      * @param fileInfo The file selection information.
      * @return true if the file should be selected, false otherwise.
      */
+    @Override
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
         return true;
@@ -37,6 +38,7 @@ public class AllFileSelector
      * @param fileInfo The file selection information.
      * @return true if descendents should be traversed, false otherwise.
      */
+    @Override
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
         return true;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileContent.java Tue Jul 17 13:44:35 2012
@@ -221,6 +221,7 @@ public interface FileContent extends Clo
      * method.
      * @throws FileSystemException if an error occurs closing the file.
      */
+    @Override
     void close() throws FileSystemException;
 
     /**

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -74,6 +74,7 @@ public class FileDepthSelector implement
      *            The file selection information
      * @return true if the file or folder should be included, false otherwise.
      */
+    @Override
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
         final int depth = fileInfo.getDepth();
@@ -87,6 +88,7 @@ public class FileDepthSelector implement
      *            The file selection information
      * @return true if the file or folder should be traversed, false otherwise.
      */
+    @Override
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
         return fileInfo.getDepth() < maxDepth;

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -76,6 +76,7 @@ public class FileExtensionSelector imple
      *            The file selection information.
      * @return true if the file should be selected, false otherwise.
      */
+    @Override
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
         if (this.extensions == null)
@@ -99,6 +100,7 @@ public class FileExtensionSelector imple
      *            The file selection information.
      * @return true if descendents should be traversed, fase otherwise.
      */
+    @Override
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
         return true;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileObject.java Tue Jul 17 13:44:35 2012
@@ -392,6 +392,7 @@ public interface FileObject extends Comp
      * @throws FileSystemException On error closing the file.
      * @see FileContent#close
      */
+    @Override
     void close() throws FileSystemException;
 
     /**

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -55,6 +55,7 @@ public final class FileSystemOptions imp
             this.name = name;
         }
 
+        @Override
         public int compareTo(FileSystemOptionKey o)
         {
             int ret = fileSystemClass.getName().compareTo(o.fileSystemClass.getName());

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeSelector.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/FileTypeSelector.java Tue Jul 17 13:44:35 2012
@@ -42,6 +42,7 @@ public class FileTypeSelector
      * @return true if the file or folder should be selected.
      * @throws FileSystemException if an error occurs
      */
+    @Override
     public boolean includeFile(final FileSelectInfo fileInfo)
         throws FileSystemException
     {
@@ -53,6 +54,7 @@ public class FileTypeSelector
      * @param fileInfo The file selection information.
      * @return true if the file or folder should be traversed.
      */
+    @Override
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
         return true;

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -76,6 +76,7 @@ public class PatternFileSelector impleme
      *            The file selection information.
      * @return true if the file should be selected, false otherwise.
      */
+    @Override
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
         return this.pattern.matcher(fileInfo.getFile().getName().getPath()).matches();
@@ -94,6 +95,7 @@ public class PatternFileSelector impleme
      *            The file selection information.
      * @return true if descendents should be traversed, false otherwise.
      */
+    @Override
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
         return true;

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -65,6 +65,7 @@ public class UserAuthenticationData
             return true;
         }
 
+        @Override
         public int compareTo(Type o)
         {
             return type.compareTo(o.type);

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -41,6 +41,7 @@ public class StaticUserAuthenticator imp
         this.domain = domain;
     }
 
+    @Override
     public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
     {
         UserAuthenticationData data = new UserAuthenticationData();
@@ -114,6 +115,7 @@ public class StaticUserAuthenticator imp
      * {@inheritDoc}
      * @since 2.0
      */
+    @Override
     public int compareTo(final StaticUserAuthenticator other)
     {
         int result = compareStringOrNull(domain, other.domain);

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -36,24 +36,28 @@ public class DefaultFilesCache extends A
     private final ConcurrentMap<FileSystem, ConcurrentMap<FileName, FileObject>> filesystemCache =
           new ConcurrentHashMap<FileSystem, ConcurrentMap<FileName, FileObject>>(10);
 
+    @Override
     public void putFile(final FileObject file)
     {
         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());
         return files.putIfAbsent(file.getName(), file) == null;
     }
 
+    @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
         return files.get(name);
     }
 
+    @Override
     public void clear(FileSystem filesystem)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
@@ -80,6 +84,7 @@ public class DefaultFilesCache extends A
         filesystemCache.clear();
     }
 
+    @Override
     public void removeFile(FileSystem filesystem, FileName name)
     {
         Map<?, ?> files = getOrCreateFilesystemCache(filesystem);

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -42,6 +42,7 @@ class FileSystemAndNameKey implements Co
         this.fileName = fileName;
     }
 
+    @Override
     public int compareTo(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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -140,6 +140,7 @@ public class LRUFilesCache extends Abstr
         this.lruSize = lruSize;
     }
 
+    @Override
     public void putFile(final FileObject file)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
@@ -158,6 +159,7 @@ public class LRUFilesCache extends Abstr
     }
 
 
+    @Override
     public boolean putFileIfAbsent(final FileObject file)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(file.getFileSystem());
@@ -182,6 +184,7 @@ public class LRUFilesCache extends Abstr
         }
     }
 
+    @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
@@ -200,6 +203,7 @@ public class LRUFilesCache extends Abstr
         }
     }
 
+    @Override
     public void clear(final FileSystem filesystem)
     {
         Map<FileName, FileObject> files = getOrCreateFilesystemCache(filesystem);
@@ -244,6 +248,7 @@ public class LRUFilesCache extends Abstr
         filesystemCache.clear();
     }
 
+    @Override
     public void removeFile(final FileSystem filesystem, final FileName name)
     {
         Map<?, ?> files = getOrCreateFilesystemCache(filesystem);

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -33,20 +33,24 @@ import org.apache.commons.vfs2.FileSyste
  */
 public class NullFilesCache extends AbstractFilesCache
 {
+    @Override
     public void putFile(final FileObject file)
     {
     }
 
+    @Override
     public boolean putFileIfAbsent(final FileObject file)
     {
         return false;
     }
 
+    @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
         return null;
     }
 
+    @Override
     public void clear(FileSystem filesystem)
     {
     }
@@ -57,6 +61,7 @@ public class NullFilesCache extends Abst
         super.close();
     }
 
+    @Override
     public void removeFile(FileSystem filesystem, FileName name)
     {
     }

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -156,6 +156,7 @@ public class SoftRefFilesCache extends A
         }
     }
 
+    @Override
     public void putFile(final FileObject file)
     {
         if (log.isDebugEnabled())
@@ -185,6 +186,7 @@ public class SoftRefFilesCache extends A
     }
 
 
+    @Override
     public boolean putFileIfAbsent(final FileObject file)
     {
         if (log.isDebugEnabled())
@@ -223,6 +225,7 @@ public class SoftRefFilesCache extends A
         return new SoftReference<FileObject>(file, refqueue);
     }
 
+    @Override
     public FileObject getFile(final FileSystem filesystem, final FileName name)
     {
         Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(filesystem);
@@ -249,6 +252,7 @@ public class SoftRefFilesCache extends A
         }
     }
 
+    @Override
     public void clear(FileSystem filesystem)
     {
         Map<FileName, Reference<FileObject>> files = getOrCreateFilesystemCache(filesystem);
@@ -320,6 +324,7 @@ public class SoftRefFilesCache extends A
         }
     }
 
+    @Override
     public void removeFile(FileSystem filesystem, FileName name)
     {
         if (removeFile(new FileSystemAndNameKey(filesystem, name)))

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=1362493&r1=1362492&r2=1362493&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 Tue Jul 17 13:44:35 2012
@@ -43,117 +43,140 @@ public class DecoratedFileObject impleme
         this.decoratedFileObject = decoratedFileObject;
     }
 
+    @Override
     public boolean canRenameTo(FileObject newfile)
     {
         return decoratedFileObject.canRenameTo(newfile);
     }
 
+    @Override
     public void close() throws FileSystemException
     {
         decoratedFileObject.close();
     }
 
+    @Override
     public int compareTo(FileObject fo)
     {
         return decoratedFileObject.compareTo(fo);
     }
 
+    @Override
     public void copyFrom(FileObject srcFile, FileSelector selector) throws FileSystemException
     {
         decoratedFileObject.copyFrom(srcFile, selector);
     }
 
+    @Override
     public void createFile() throws FileSystemException
     {
         decoratedFileObject.createFile();
     }
 
+    @Override
     public void createFolder() throws FileSystemException
     {
         decoratedFileObject.createFolder();
     }
 
+    @Override
     public boolean delete() throws FileSystemException
     {
         return decoratedFileObject.delete();
     }
 
+    @Override
     public int delete(FileSelector selector) throws FileSystemException
     {
         return decoratedFileObject.delete(selector);
     }
 
+    @Override
     public int deleteAll() throws FileSystemException
     {
         return decoratedFileObject.deleteAll();
     }
 
+    @Override
     public boolean exists() throws FileSystemException
     {
         return decoratedFileObject.exists();
     }
 
+    @Override
     public void findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected)
         throws FileSystemException
     {
         decoratedFileObject.findFiles(selector, depthwise, selected);
     }
 
+    @Override
     public FileObject[] findFiles(FileSelector selector) throws FileSystemException
     {
         return decoratedFileObject.findFiles(selector);
     }
 
+    @Override
     public FileObject getChild(String name) throws FileSystemException
     {
         return decoratedFileObject.getChild(name);
     }
 
+    @Override
     public FileObject[] getChildren() throws FileSystemException
     {
         return decoratedFileObject.getChildren();
     }
 
+    @Override
     public FileContent getContent() throws FileSystemException
     {
         return decoratedFileObject.getContent();
     }
 
+    @Override
     public FileSystem getFileSystem()
     {
         return decoratedFileObject.getFileSystem();
     }
 
+    @Override
     public FileName getName()
     {
         return decoratedFileObject.getName();
     }
 
+    @Override
     public FileObject getParent() throws FileSystemException
     {
         return decoratedFileObject.getParent();
     }
 
+    @Override
     public FileType getType() throws FileSystemException
     {
         return decoratedFileObject.getType();
     }
 
+    @Override
     public URL getURL() throws FileSystemException
     {
         return decoratedFileObject.getURL();
     }
 
+    @Override
     public boolean isExecutable() throws FileSystemException
     {
         return decoratedFileObject.isExecutable();
     }
 
+    @Override
     public boolean isHidden() throws FileSystemException
     {
         return decoratedFileObject.isHidden();
     }
 
+    @Override
     public boolean isReadable() throws FileSystemException
     {
         return decoratedFileObject.isReadable();
@@ -165,6 +188,7 @@ public class DecoratedFileObject impleme
         return decoratedFileObject.setReadable(readable, ownerOnly);
     }
 
+    @Override
     public boolean isWriteable() throws FileSystemException
     {
         return decoratedFileObject.isWriteable();
@@ -182,26 +206,31 @@ public class DecoratedFileObject impleme
         return decoratedFileObject.setExecutable(executable, ownerOnly);
     }
 
+    @Override
     public Iterator<FileObject> iterator()
     {
         return decoratedFileObject.iterator();
     }
 
+    @Override
     public void moveTo(FileObject destFile) throws FileSystemException
     {
         decoratedFileObject.moveTo(destFile);
     }
 
+    @Override
     public FileObject resolveFile(String name, NameScope scope) throws FileSystemException
     {
         return decoratedFileObject.resolveFile(name, scope);
     }
 
+    @Override
     public FileObject resolveFile(String path) throws FileSystemException
     {
         return decoratedFileObject.resolveFile(path);
     }
 
+    @Override
     public void refresh() throws FileSystemException
     {
         decoratedFileObject.refresh();
@@ -212,21 +241,25 @@ public class DecoratedFileObject impleme
         return decoratedFileObject;
     }
 
+    @Override
     public boolean isAttached()
     {
         return decoratedFileObject.isAttached();
     }
 
+    @Override
     public boolean isContentOpen()
     {
         return decoratedFileObject.isContentOpen();
     }
 
+    @Override
     public boolean isFile() throws FileSystemException
     {
         return decoratedFileObject.isFile();
     }
 
+    @Override
     public boolean isFolder() throws FileSystemException
     {
         return decoratedFileObject.isFolder();
@@ -238,6 +271,7 @@ public class DecoratedFileObject impleme
         return decoratedFileObject.toString();
     }
 
+    @Override
     public FileOperations getFileOperations() throws FileSystemException
     {
         return decoratedFileObject.getFileOperations();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileContentInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileContentInfo.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileContentInfo.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileContentInfo.java Tue Jul 17 13:44:35 2012
@@ -32,11 +32,13 @@ public class DefaultFileContentInfo impl
         this.contentEncoding = contentEncoding;
     }
 
+    @Override
     public String getContentType()
     {
         return contentType;
     }
 
+    @Override
     public String getContentEncoding()
     {
         return contentEncoding;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java Tue Jul 17 13:44:35 2012
@@ -167,6 +167,7 @@ public class DefaultFileMonitor implemen
      * Adds a file to be monitored.
      * @param file The FileObject to monitor.
      */
+    @Override
     public void addFile(final FileObject file)
     {
         doAddFile(file);
@@ -233,6 +234,7 @@ public class DefaultFileMonitor implemen
      * Removes a file from being monitored.
      * @param file The FileObject to remove from monitoring.
      */
+    @Override
     public void removeFile(final FileObject file)
     {
         synchronized (this.monitorMap)
@@ -353,6 +355,7 @@ public class DefaultFileMonitor implemen
     /**
      * Asks the agent for each file being monitored to check its file for changes.
      */
+    @Override
     public void run()
     {
         mainloop:

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java Tue Jul 17 13:44:35 2012
@@ -164,6 +164,7 @@ public class DefaultFileReplicator
      * @return The created File.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public File allocateFile(final String baseName) throws FileSystemException
     {
         // Create a unique-ish file name
@@ -234,6 +235,7 @@ public class DefaultFileReplicator
      * @return the created File.
      * @throws FileSystemException if an error occurs copying the file.
      */
+    @Override
     public File replicateFile(final FileObject srcFile,
                               final FileSelector selector)
         throws FileSystemException

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java Tue Jul 17 13:44:35 2012
@@ -199,6 +199,7 @@ public class DefaultFileSystemManager im
      * @param scheme The scheme to check.
      * @return true if a provider is configured for this scheme, false otherwise.
      */
+    @Override
     public boolean hasProvider(final String scheme)
     {
         return providers.containsKey(scheme);
@@ -243,6 +244,7 @@ public class DefaultFileSystemManager im
      * Returns the filesCache implementation used to cache files.
      * @return The FilesCache.
      */
+    @Override
     public FilesCache getFilesCache()
     {
         return filesCache;
@@ -292,6 +294,7 @@ public class DefaultFileSystemManager im
      * Get the cache strategy used.
      * @return The CacheStrategy.
      */
+    @Override
     public CacheStrategy getCacheStrategy()
     {
         return fileCacheStrategy;
@@ -301,6 +304,7 @@ public class DefaultFileSystemManager im
      * Get the file object decorator used.
      * @return The decorator.
      */
+    @Override
     public Class<?> getFileObjectDecorator()
     {
         return fileObjectDecorator;
@@ -311,6 +315,7 @@ public class DefaultFileSystemManager im
      * We cache it here for performance reasons.
      * @return The decorator's Constructor.
      */
+    @Override
     public Constructor<?> getFileObjectDecoratorConst()
     {
         return fileObjectDecoratorConst;
@@ -351,6 +356,7 @@ public class DefaultFileSystemManager im
      * content.
      * @return The FileContentInfoFactory.
      */
+    @Override
     public FileContentInfoFactory getFileContentInfoFactory()
     {
         return fileContentInfoFactory;
@@ -403,6 +409,7 @@ public class DefaultFileSystemManager im
      * Sets the logger to use.
      * @param log The Logger to use.
      */
+    @Override
     public void setLogger(final Log log)
     {
         this.log = log;
@@ -581,6 +588,7 @@ public class DefaultFileSystemManager im
      * @return The FileObject that represents the base file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject getBaseFile() throws FileSystemException
     {
         return baseFile;
@@ -592,6 +600,7 @@ public class DefaultFileSystemManager im
      * @return The FileObject for the located file.
      * @throws FileSystemException if the file cannot be located or an error occurs.
      */
+    @Override
     public FileObject resolveFile(final String uri) throws FileSystemException
     {
         // return resolveFile(baseFile, uri);
@@ -606,6 +615,7 @@ public class DefaultFileSystemManager im
      * @throws FileSystemException if the file cannot be located or an error occurs.
      */
 
+    @Override
     public FileObject resolveFile(final String uri,
             final FileSystemOptions fileSystemOptions)
             throws FileSystemException
@@ -621,6 +631,7 @@ public class DefaultFileSystemManager im
      * @return The FileObject for the located file.
      * @throws FileSystemException if the file cannot be located or an error occurs.
      */
+    @Override
     public FileObject resolveFile(final File baseFile, final String uri)
             throws FileSystemException
     {
@@ -636,6 +647,7 @@ public class DefaultFileSystemManager im
      * @return The FileObject for the located file.
      * @throws FileSystemException if the file cannot be located or an error occurs.
      */
+    @Override
     public FileObject resolveFile(final FileObject baseFile, final String uri)
             throws FileSystemException
     {
@@ -724,6 +736,7 @@ public class DefaultFileSystemManager im
      * @return The constructed FileName.
      * @throws FileSystemException if an error occurs constructing the FileName.
      */
+    @Override
     public FileName resolveName(final FileName root, final String path)
             throws FileSystemException
     {
@@ -739,6 +752,7 @@ public class DefaultFileSystemManager im
      * @return The FileName of the file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileName resolveName(final FileName base, final String name,
             final NameScope scope) throws FileSystemException
     {
@@ -826,6 +840,7 @@ public class DefaultFileSystemManager im
      * @return The FileName of the file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileName resolveURI(String uri) throws FileSystemException
     {
         UriParser.checkUriEncoding(uri);
@@ -881,6 +896,7 @@ public class DefaultFileSystemManager im
      * @return the create FileObject
      * @throws FileSystemException if an error occurs creating the file naem.
      */
+    @Override
     public FileObject toFileObject(final File file) throws FileSystemException
     {
         return getLocalFileProvider().findLocalFile(file);
@@ -893,6 +909,7 @@ public class DefaultFileSystemManager im
      * @return The layered FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject createFileSystem(final String scheme,
             final FileObject file) throws FileSystemException
     {
@@ -910,6 +927,7 @@ public class DefaultFileSystemManager im
      * @return The layered FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject createFileSystem(final FileObject file)
             throws FileSystemException
     {
@@ -930,6 +948,7 @@ public class DefaultFileSystemManager im
      * @return true if the FileSystem can be created.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean canCreateFileSystem(final FileObject file)
             throws FileSystemException
     {
@@ -942,6 +961,7 @@ public class DefaultFileSystemManager im
      * @return The FileObject in the VirtualFileSystem.
      * @throws FileSystemException if an error occurs creating the file.
      */
+    @Override
     public FileObject createVirtualFileSystem(final FileObject rootFile)
             throws FileSystemException
     {
@@ -954,6 +974,7 @@ public class DefaultFileSystemManager im
      * @return A FileObject in the virtual FileSystem.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject createVirtualFileSystem(final String rootUri)
             throws FileSystemException
     {
@@ -979,6 +1000,7 @@ public class DefaultFileSystemManager im
      * Get the URLStreamHandlerFactory.
      * @return The URLStreamHandlerFactory.
      */
+    @Override
     public URLStreamHandlerFactory getURLStreamHandlerFactory()
     {
         return new VfsStreamHandlerFactory();
@@ -989,6 +1011,7 @@ public class DefaultFileSystemManager im
      * If you use VFS as singleton it is VERY dangerous to call this method
      * @param filesystem The FileSystem to close.
      */
+    @Override
     public void closeFileSystem(FileSystem filesystem)
     {
         // inform the cache ...
@@ -1021,6 +1044,7 @@ public class DefaultFileSystemManager im
      */
     final class VfsStreamHandlerFactory implements URLStreamHandlerFactory
     {
+        @Override
         public URLStreamHandler createURLStreamHandler(final String protocol)
         {
             FileProvider provider = providers.get(protocol);
@@ -1038,6 +1062,7 @@ public class DefaultFileSystemManager im
      * Get the schemes currently available.
      * @return The array of scheme names.
      */
+    @Override
     public String[] getSchemes()
     {
         String[] schemes = new String[providers.size()];
@@ -1052,6 +1077,7 @@ public class DefaultFileSystemManager im
      * @return A Collection of capabilities.
      * @throws FileSystemException if the given scheme is not konwn
      */
+    @Override
     public Collection<Capability> getProviderCapabilities(final String scheme)
             throws FileSystemException
     {
@@ -1070,6 +1096,7 @@ public class DefaultFileSystemManager im
      * @return The FileSystemConfigBuilder for the scheme.
      * @throws FileSystemException if the given scheme is not konwn
      */
+    @Override
     public FileSystemConfigBuilder getFileSystemConfigBuilder(final String scheme)
             throws FileSystemException
     {
@@ -1094,6 +1121,7 @@ public class DefaultFileSystemManager im
      * @param operationProvider The FileOperationProvider.
      * @throws FileSystemException if an error occurs adding the provider.
      */
+    @Override
     public void addOperationProvider(final String scheme,
             final FileOperationProvider operationProvider)
             throws FileSystemException
@@ -1109,6 +1137,7 @@ public class DefaultFileSystemManager im
      * @param operationProvider The FileOperationProvider.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void addOperationProvider(final String[] schemes,
             final FileOperationProvider operationProvider)
             throws FileSystemException
@@ -1146,6 +1175,7 @@ public class DefaultFileSystemManager im
      *
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileOperationProvider[] getOperationProviders(final String scheme)
             throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultVfsComponentContext.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultVfsComponentContext.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultVfsComponentContext.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DefaultVfsComponentContext.java Tue Jul 17 13:44:35 2012
@@ -44,6 +44,7 @@ final class DefaultVfsComponentContext
     /**
      * Locate a file by name.
      */
+    @Override
     public FileObject resolveFile(final FileObject baseFile, final String name,
                                   final FileSystemOptions fileSystemOptions)
         throws FileSystemException
@@ -54,12 +55,14 @@ final class DefaultVfsComponentContext
     /**
      * Locate a file by name.
      */
+    @Override
     public FileObject resolveFile(final String name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
         return manager.resolveFile(name, fileSystemOptions);
     }
 
+    @Override
     public FileName parseURI(String uri) throws FileSystemException
     {
         return manager.resolveURI(uri);
@@ -68,6 +71,7 @@ final class DefaultVfsComponentContext
     /**
      * Returns a {@link FileObject} for a local file.
      */
+    @Override
     public FileObject toFileObject(File file)
         throws FileSystemException
     {
@@ -77,6 +81,7 @@ final class DefaultVfsComponentContext
     /**
      * Locates a file replicator for the provider to use.
      */
+    @Override
     public FileReplicator getReplicator() throws FileSystemException
     {
         return manager.getReplicator();
@@ -85,6 +90,7 @@ final class DefaultVfsComponentContext
     /**
      * Locates a temporary file store for the provider to use.
      */
+    @Override
     public TemporaryFileStore getTemporaryFileStore() throws FileSystemException
     {
         return manager.getTemporaryFileStore();
@@ -95,6 +101,7 @@ final class DefaultVfsComponentContext
      *
      * @return the filesystem manager
      */
+    @Override
     public FileSystemManager getFileSystemManager()
     {
         return manager;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/FileContentInfoFilenameFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/FileContentInfoFilenameFactory.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/FileContentInfoFilenameFactory.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/FileContentInfoFilenameFactory.java Tue Jul 17 13:44:35 2012
@@ -30,6 +30,7 @@ import org.apache.commons.vfs2.FileConte
  */
 public class FileContentInfoFilenameFactory implements FileContentInfoFactory
 {
+    @Override
     public FileContentInfo create(FileContent fileContent)
     {
         String contentType = null;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/PrivilegedFileReplicator.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/PrivilegedFileReplicator.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/PrivilegedFileReplicator.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/PrivilegedFileReplicator.java Tue Jul 17 13:44:35 2012
@@ -57,6 +57,7 @@ public class PrivilegedFileReplicator
      * Sets the Logger to use for the component.
      * @param logger The logger.
      */
+    @Override
     public void setLogger(final Log logger)
     {
         if (replicatorComponent != null)
@@ -69,6 +70,7 @@ public class PrivilegedFileReplicator
      * Sets the context for the replicator.
      * @param context The component context.
      */
+    @Override
     public void setContext(final VfsComponentContext context)
     {
         if (replicatorComponent != null)
@@ -81,6 +83,7 @@ public class PrivilegedFileReplicator
      * Initialises the component.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void init() throws FileSystemException
     {
         if (replicatorComponent != null)
@@ -99,6 +102,7 @@ public class PrivilegedFileReplicator
     /**
      * Closes the replicator.
      */
+    @Override
     public void close()
     {
         if (replicatorComponent != null)
@@ -114,6 +118,7 @@ public class PrivilegedFileReplicator
      * @return The replicated file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public File replicateFile(FileObject srcFile, FileSelector selector)
         throws FileSystemException
     {
@@ -136,6 +141,7 @@ public class PrivilegedFileReplicator
         /**
          * Performs the action.
          */
+        @Override
         public Object run() throws Exception
         {
             replicatorComponent.init();
@@ -162,6 +168,7 @@ public class PrivilegedFileReplicator
          * Performs the action.
          * @throws Exception if an error occurs.
          */
+        @Override
         public File run() throws Exception
         {
             // TODO - Do not pass the selector through.  It is untrusted
@@ -178,6 +185,7 @@ public class PrivilegedFileReplicator
         /**
          * Performs the action.
          */
+        @Override
         public Object run()
         {
             replicatorComponent.close();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VFSClassLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VFSClassLoader.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VFSClassLoader.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/VFSClassLoader.java Tue Jul 17 13:44:35 2012
@@ -378,11 +378,13 @@ public class VFSClassLoader extends Secu
     {
         return new Enumeration<URL>()
         {
+            @Override
             public boolean hasMoreElements()
             {
                 return false;
             }
 
+            @Override
             public URL nextElement()
             {
                 return null;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/AbstractFileOperationProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/AbstractFileOperationProvider.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/AbstractFileOperationProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/AbstractFileOperationProvider.java Tue Jul 17 13:44:35 2012
@@ -54,6 +54,7 @@ public abstract class AbstractFileOperat
      * @throws org.apache.commons.vfs2.FileSystemException
      *             if list of operations cannot be retrieved.
      */
+    @Override
     public final void collectOperations(final Collection<Class<? extends FileOperation>> operationsList,
             final FileObject file) throws FileSystemException
     {
@@ -78,6 +79,7 @@ public abstract class AbstractFileOperat
      * @throws org.apache.commons.vfs2.FileSystemException
      *             if operation cannot be retrieved.
      */
+    @Override
     public final FileOperation getOperation(FileObject file, Class<? extends FileOperation> operationClass)
             throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/DefaultFileOperations.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/DefaultFileOperations.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/DefaultFileOperations.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/operations/DefaultFileOperations.java Tue Jul 17 13:44:35 2012
@@ -52,6 +52,7 @@ public class DefaultFileOperations imple
      * @return The operation classes.
      * @throws FileSystemException If an error occurs.
      */
+    @Override
     public Class<? extends FileOperation>[] getOperations() throws FileSystemException
     {
 
@@ -82,6 +83,7 @@ public class DefaultFileOperations imple
      * @return The FileOperation.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileOperation getOperation(Class<? extends FileOperation> operationClass)
             throws FileSystemException
     {
@@ -124,6 +126,7 @@ public class DefaultFileOperations imple
      *
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean hasOperation(Class<? extends FileOperation> operationClass) throws FileSystemException
     {
         Class<? extends FileOperation>[] operations = getOperations();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileName.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileName.java Tue Jul 17 13:44:35 2012
@@ -92,6 +92,7 @@ public abstract class AbstractFileName i
      * @param obj another abstract filename
      * @return negative number if less than, 0 if equal, positive if greater than.
      */
+    @Override
     public int compareTo(FileName obj)
     {
         final AbstractFileName name = (AbstractFileName) obj;
@@ -128,6 +129,7 @@ public abstract class AbstractFileName i
      * Returns the base name of the file.
      * @return The base name of the file.
      */
+    @Override
     public String getBaseName()
     {
         if (baseName == null)
@@ -151,6 +153,7 @@ public abstract class AbstractFileName i
      * file system that the file belongs to.
      * @return The path String.
      */
+    @Override
     public String getPath()
     {
         if (VFS.isUriStyle())
@@ -170,6 +173,7 @@ public abstract class AbstractFileName i
      * @return The decoded path String.
      * @throws FileSystemException If an error occurs.
      */
+    @Override
     public String getPathDecoded() throws FileSystemException
     {
         if (decodedAbsPath == null)
@@ -184,6 +188,7 @@ public abstract class AbstractFileName i
      * Returns the name of the parent of the file.
      * @return the FileName of the parent.
      */
+    @Override
     public FileName getParent()
     {
         final String parentPath;
@@ -209,6 +214,7 @@ public abstract class AbstractFileName i
      * find the root of the filesystem.
      * @return The root FileName.
      */
+    @Override
     public FileName getRoot()
     {
         FileName root = this;
@@ -224,6 +230,7 @@ public abstract class AbstractFileName i
      * Returns the URI scheme of this file.
      * @return The protocol used to access the file.
      */
+    @Override
     public String getScheme()
     {
         return scheme;
@@ -233,6 +240,7 @@ public abstract class AbstractFileName i
      * Returns the absolute URI of the file.
      * @return The absolute URI of the file.
      */
+    @Override
     public String getURI()
     {
         if (uri == null)
@@ -264,6 +272,7 @@ public abstract class AbstractFileName i
      * returns a "friendly path", this is a path without a password.
      * @return The "friendly" URI.
      */
+    @Override
     public String getFriendlyURI()
     {
         return createURI(false, false);
@@ -284,6 +293,7 @@ public abstract class AbstractFileName i
      * @return The relative path to the file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public String getRelativeName(final FileName name) throws FileSystemException
     {
         final String path = name.getPath();
@@ -345,6 +355,7 @@ public abstract class AbstractFileName i
      * Returns the root URI of the file system this file belongs to.
      * @return The URI of the root.
      */
+    @Override
     public String getRootURI()
     {
         if (rootUri == null)
@@ -361,6 +372,7 @@ public abstract class AbstractFileName i
      * Returns the depth of this file name, within its file system.
      * @return The depth of the file name.
      */
+    @Override
     public int getDepth()
     {
         final int len = getPath().length();
@@ -380,6 +392,7 @@ public abstract class AbstractFileName i
      * Returns the extension of this file name.
      * @return The file extension.
      */
+    @Override
     public String getExtension()
     {
         if (extension == null)
@@ -409,6 +422,7 @@ public abstract class AbstractFileName i
      * @param ancestor The FileName to check.
      * @return true if the FileName is an ancestor, false otherwise.
      */
+    @Override
     public boolean isAncestor(final FileName ancestor)
     {
         if (!ancestor.getRootURI().equals(getRootURI()))
@@ -423,6 +437,7 @@ public abstract class AbstractFileName i
      * @param descendent The FileName to check.
      * @return true if the FileName is a descendent, false otherwise.
      */
+    @Override
     public boolean isDescendent(final FileName descendent)
     {
         return isDescendent(descendent, NameScope.DESCENDENT);
@@ -434,6 +449,7 @@ public abstract class AbstractFileName i
      * @param scope The NameScope.
      * @return true if the FileName is a descendent, false otherwise.
      */
+    @Override
     public boolean isDescendent(final FileName descendent,
                                 final NameScope scope)
     {
@@ -452,6 +468,7 @@ public abstract class AbstractFileName i
      * @see #getType()
      * @see FileType#FILE
      */
+    @Override
     public boolean isFile() throws FileSystemException
     {
         // Use equals instead of == to avoid any class loader worries.
@@ -471,6 +488,7 @@ public abstract class AbstractFileName i
      *
      * @return {@link FileType#FOLDER} or {@link FileType#FILE}
      */
+    @Override
     public FileType getType()
     {
         return type;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileNameParser.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileNameParser.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileNameParser.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileNameParser.java Tue Jul 17 13:44:35 2012
@@ -21,6 +21,7 @@ package org.apache.commons.vfs2.provider
  */
 public abstract class AbstractFileNameParser implements FileNameParser
 {
+    @Override
     public boolean encodeCharacter(char ch)
     {
         return ch == '%';

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java Tue Jul 17 13:44:35 2012
@@ -488,6 +488,7 @@ public abstract class AbstractFileObject
      * Returns the name of the file.
      * @return The FileName.
      */
+    @Override
     public FileName getName()
     {
         return name;
@@ -497,6 +498,7 @@ public abstract class AbstractFileObject
      * Returns the file system this file belongs to.
      * @return The FileSystem this file is associated with.
      */
+    @Override
     public FileSystem getFileSystem()
     {
         return fs;
@@ -507,6 +509,7 @@ public abstract class AbstractFileObject
      * @return The URL representation of the file.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public URL getURL() throws FileSystemException
     {
         final StringBuilder buf = new StringBuilder();
@@ -514,6 +517,7 @@ public abstract class AbstractFileObject
         {
             return AccessController.doPrivileged(new PrivilegedExceptionAction<URL>()
             {
+                @Override
                 public URL run() throws MalformedURLException
                 {
                     return new URL(UriParser.extractScheme(name.getURI(), buf), "", -1,
@@ -532,6 +536,7 @@ public abstract class AbstractFileObject
      * @return true if the file exists, false otherwise,
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean exists() throws FileSystemException
     {
         return getType() != FileType.IMAGINARY;
@@ -542,6 +547,7 @@ public abstract class AbstractFileObject
      * @return The FileType.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileType getType() throws FileSystemException
     {
         synchronized (fs)
@@ -577,6 +583,7 @@ public abstract class AbstractFileObject
      * @see #getType()
      * @see FileType#FILE
      */
+    @Override
     public boolean isFile() throws FileSystemException
     {
         // Use equals instead of == to avoid any class loader worries.
@@ -591,6 +598,7 @@ public abstract class AbstractFileObject
      * @see #getType()
      * @see FileType#FOLDER
      */
+    @Override
     public boolean isFolder() throws FileSystemException
     {
         // Use equals instead of == to avoid any class loader worries.
@@ -603,6 +611,7 @@ public abstract class AbstractFileObject
      * @return {@code true} if this file is executable, {@code false} if not.
      * @throws FileSystemException On error determining if this file exists.
      */
+    @Override
     public boolean isExecutable() throws FileSystemException
     {
         try
@@ -625,6 +634,7 @@ public abstract class AbstractFileObject
      * @return true if the file is a hidden file, false otherwise.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean isHidden() throws FileSystemException
     {
         try
@@ -649,6 +659,7 @@ public abstract class AbstractFileObject
      * @return true if the file can be read, false otherwise.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean isReadable() throws FileSystemException
     {
         try
@@ -693,6 +704,7 @@ public abstract class AbstractFileObject
      * @return true if the file can be written to, false otherwise.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean isWriteable() throws FileSystemException
     {
         try
@@ -762,6 +774,7 @@ public abstract class AbstractFileObject
      *
      * @return an Iterator.
      */
+    @Override
     public Iterator<FileObject> iterator()
     {
         try
@@ -800,6 +813,7 @@ public abstract class AbstractFileObject
      * @return the parent FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject getParent() throws FileSystemException
     {
         if (this == fs.getRoot())
@@ -832,6 +846,7 @@ public abstract class AbstractFileObject
      * @return an array of FileObjects, one per child.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject[] getChildren() throws FileSystemException
     {
         synchronized (fs)
@@ -967,6 +982,7 @@ public abstract class AbstractFileObject
      * @return The FileObject for the file or null if the child does not exist.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject getChild(final String name) throws FileSystemException
     {
         // TODO - use a hashtable when there are a large number of children
@@ -992,6 +1008,7 @@ public abstract class AbstractFileObject
      * @return The FileObject for the file or null if the child does not exist.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject resolveFile(final String name, final NameScope scope)
         throws FileSystemException
     {
@@ -1009,6 +1026,7 @@ public abstract class AbstractFileObject
      * @return The FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject resolveFile(final String path) throws FileSystemException
     {
         final FileName otherName = fs.getFileSystemManager().resolveName(name, path);
@@ -1068,6 +1086,7 @@ public abstract class AbstractFileObject
      * @todo This will not fail if this is a non-empty folder.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean delete() throws FileSystemException
     {
         return delete(Selectors.SELECT_SELF) > 0;
@@ -1080,6 +1099,7 @@ public abstract class AbstractFileObject
      * @return the number of deleted files.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public int delete(final FileSelector selector) throws FileSystemException
     {
         int nuofDeleted = 0;
@@ -1131,6 +1151,7 @@ public abstract class AbstractFileObject
      * @see #delete(FileSelector)
      * @see Selectors#SELECT_ALL
      */
+    @Override
     public int deleteAll() throws FileSystemException
     {
         return this.delete(Selectors.SELECT_ALL);
@@ -1140,6 +1161,7 @@ public abstract class AbstractFileObject
      * Creates this file, if it does not exist.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void createFile() throws FileSystemException
     {
         synchronized (fs)
@@ -1175,6 +1197,7 @@ public abstract class AbstractFileObject
      * files which do not exist.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void createFolder() throws FileSystemException
     {
         synchronized (fs)
@@ -1226,6 +1249,7 @@ public abstract class AbstractFileObject
     /**
      * Compares two FileObjects (ignores case).
      */
+    @Override
     public int compareTo(FileObject fo)
     {
         if (fo == null)
@@ -1242,6 +1266,7 @@ public abstract class AbstractFileObject
      * @param selector The FileSelector.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void copyFrom(final FileObject file, final FileSelector selector)
         throws FileSystemException
     {
@@ -1301,6 +1326,7 @@ public abstract class AbstractFileObject
      * @param destFile The target FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void moveTo(FileObject destFile) throws FileSystemException
     {
         if (canRenameTo(destFile))
@@ -1405,6 +1431,7 @@ public abstract class AbstractFileObject
      * @param newfile the new filename
      * @return true if rename is possible
      */
+    @Override
     public boolean canRenameTo(FileObject newfile)
     {
         return fs == newfile.getFileSystem();
@@ -1418,6 +1445,7 @@ public abstract class AbstractFileObject
      * @return list of files or null if the base file (this object) do not exist
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject[] findFiles(final FileSelector selector) throws FileSystemException
     {
         final List<FileObject> list = this.listFiles(selector);
@@ -1429,6 +1457,7 @@ public abstract class AbstractFileObject
      * @return the FileContent for this FileObject.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileContent getContent() throws FileSystemException
     {
         synchronized (fs)
@@ -1457,6 +1486,7 @@ public abstract class AbstractFileObject
      * This will prepare the fileObject to get resynchronized with the underlaying filesystem if required.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void refresh() throws FileSystemException
     {
         // Detach from the file
@@ -1474,6 +1504,7 @@ public abstract class AbstractFileObject
      * Closes this file, and its content.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void close() throws FileSystemException
     {
         FileSystemException exc = null;
@@ -1904,6 +1935,7 @@ public abstract class AbstractFileObject
      * @param selected A List of the located FileObjects.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void findFiles(final FileSelector selector,
                           final boolean depthwise,
                           final List<FileObject> selected) throws FileSystemException
@@ -1978,6 +2010,7 @@ public abstract class AbstractFileObject
      *
      * @return true if this is the case
      */
+    @Override
     public boolean isContentOpen()
     {
         if (content == null)
@@ -1993,6 +2026,7 @@ public abstract class AbstractFileObject
      *
      * @return true if this is the case
      */
+    @Override
     public boolean isAttached()
     {
         return attached;
@@ -2059,6 +2093,7 @@ public abstract class AbstractFileObject
      *         API.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileOperations getFileOperations() throws FileSystemException
     {
         if (operations == null)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileProvider.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileProvider.java Tue Jul 17 13:44:35 2012
@@ -81,6 +81,7 @@ public abstract class AbstractFileProvid
      * @return A FileObject associated with the new FileSystem.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject createFileSystem(final String scheme, final FileObject file, final FileSystemOptions properties)
         throws FileSystemException
     {
@@ -126,6 +127,7 @@ public abstract class AbstractFileProvid
      * Returns the FileSystemConfigBuidler.
      * @return the FileSystemConfigBuilder.
      */
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return null;
@@ -179,6 +181,7 @@ public abstract class AbstractFileProvid
      * @return The FileName.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileName parseUri(FileName base, String uri) throws FileSystemException
     {
         if (getFileNameParser() != null)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java Tue Jul 17 13:44:35 2012
@@ -173,6 +173,7 @@ public abstract class AbstractFileSystem
      * Returns the name of the root of this file system.
      * @return the root FileName.
      */
+    @Override
     public FileName getRootName()
     {
         return rootName;
@@ -183,6 +184,7 @@ public abstract class AbstractFileSystem
      * @return The root URI used in this file system.
      * @since 2.0
      */
+    @Override
     public String getRootURI()
     {
         return rootURI;
@@ -234,6 +236,7 @@ public abstract class AbstractFileSystem
      * @param capability the Capability to check for.
      * @return true if the FileSystem has the Capability, false otherwise.
      */
+    @Override
     public boolean hasCapability(final Capability capability)
     {
         return caps.contains(capability);
@@ -246,6 +249,7 @@ public abstract class AbstractFileSystem
      * @return the Object associated with the attribute or null if no object is.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public Object getAttribute(final String attrName) throws FileSystemException
     {
         throw new FileSystemException("vfs.provider/get-attribute-not-supported.error");
@@ -258,6 +262,7 @@ public abstract class AbstractFileSystem
      * @param value The object to associate with the attribute.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void setAttribute(final String attrName, final Object value)
         throws FileSystemException
     {
@@ -269,6 +274,7 @@ public abstract class AbstractFileSystem
      * @return The FileObject for the parent layer.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject getParentLayer() throws FileSystemException
     {
         return parentLayer;
@@ -279,6 +285,7 @@ public abstract class AbstractFileSystem
      * @return The root FileObject of the FileSystem
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject getRoot() throws FileSystemException
     {
         return resolveFile(rootName);
@@ -297,6 +304,7 @@ public abstract class AbstractFileSystem
      * @return The located FileObject or null if none could be located.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject resolveFile(final String nameStr) throws FileSystemException
     {
         // Resolve the name, and create the file
@@ -310,6 +318,7 @@ public abstract class AbstractFileSystem
      * @return The located FileObject or null if none could be located.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject resolveFile(final FileName name) throws FileSystemException
     {
         return resolveFile(name, true);
@@ -406,6 +415,7 @@ public abstract class AbstractFileSystem
      * @return The replicated File.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public File replicateFile(final FileObject file,
                               final FileSelector selector)
         throws FileSystemException
@@ -429,6 +439,7 @@ public abstract class AbstractFileSystem
      * Return the FileSystemOptions used to instantiate this filesystem.
      * @return the FileSystemOptions.
      */
+    @Override
     public FileSystemOptions getFileSystemOptions()
     {
         return fileSystemOptions;
@@ -438,6 +449,7 @@ public abstract class AbstractFileSystem
      * Return the FileSystemManager used to instantiate this filesystem.
      * @return the FileSystemManager.
      */
+    @Override
     public FileSystemManager getFileSystemManager()
     {
         return getContext().getFileSystemManager();
@@ -449,6 +461,7 @@ public abstract class AbstractFileSystem
      *
      * @return ms 0 perfectly accurate, >0 might be off by this value e.g. sftp 1000ms
      */
+    @Override
     public double getLastModTimeAccuracy()
     {
         return 0;
@@ -470,6 +483,7 @@ public abstract class AbstractFileSystem
      * @param targetFile The target to add.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void addJunction(final String junctionPoint,
                             final FileObject targetFile)
         throws FileSystemException
@@ -482,6 +496,7 @@ public abstract class AbstractFileSystem
      * @param junctionPoint The junction point.
      * @throws FileSystemException if an error occurs
      */
+    @Override
     public void removeJunction(final String junctionPoint) throws FileSystemException
     {
         throw new FileSystemException("vfs.provider/junctions-not-supported.error", rootName);
@@ -492,6 +507,7 @@ public abstract class AbstractFileSystem
      * @param file The FileObject to be monitored.
      * @param listener The FileListener
      */
+    @Override
     public void addListener(final FileObject file,
                             final FileListener listener)
     {
@@ -512,6 +528,7 @@ public abstract class AbstractFileSystem
      * @param file The FileObject to be monitored.
      * @param listener The FileListener
      */
+    @Override
     public void removeListener(final FileObject file,
                                final FileListener listener)
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java Tue Jul 17 13:44:35 2012
@@ -44,6 +44,7 @@ public abstract class AbstractLayeredFil
      * @return The FileObject if it is located, null otherwise.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject findFile(final FileObject baseFile,
                                final String uri,
                                final FileSystemOptions properties) throws FileSystemException

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractOriginatingFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractOriginatingFileProvider.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractOriginatingFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractOriginatingFileProvider.java Tue Jul 17 13:44:35 2012
@@ -44,6 +44,7 @@ public abstract class AbstractOriginatin
      * @return The located FileObject
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public FileObject findFile(final FileObject baseFile,
                                final String uri,
                                final FileSystemOptions fileSystemOptions) throws FileSystemException

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java Tue Jul 17 13:44:35 2012
@@ -43,77 +43,92 @@ public abstract class AbstractRandomAcce
      * @throws IOException
      *             if an error occurs.
      */
+    @Override
     @Deprecated
     public String readLine() throws IOException
     {
         throw new UnsupportedOperationException("deprecated");
     }
 
+    @Override
     public void write(byte[] b) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void write(byte[] b, int off, int len) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void write(int b) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeBoolean(boolean v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeByte(int v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeBytes(String s) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeChar(int v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeChars(String s) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeDouble(double v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeFloat(float v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeInt(int v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeLong(long v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeShort(int v) throws IOException
     {
         throw new UnsupportedOperationException();
     }
 
+    @Override
     public void writeUTF(String str) throws IOException
     {
         throw new UnsupportedOperationException();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessStreamContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessStreamContent.java?rev=1362493&r1=1362492&r2=1362493&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessStreamContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessStreamContent.java Tue Jul 17 13:44:35 2012
@@ -34,81 +34,97 @@ public abstract class AbstractRandomAcce
 
     protected abstract DataInputStream getDataInputStream() throws IOException;
 
+    @Override
     public byte readByte() throws IOException
     {
         return getDataInputStream().readByte();
     }
 
+    @Override
     public char readChar() throws IOException
     {
         return getDataInputStream().readChar();
     }
 
+    @Override
     public double readDouble() throws IOException
     {
         return getDataInputStream().readDouble();
     }
 
+    @Override
     public float readFloat() throws IOException
     {
         return getDataInputStream().readFloat();
     }
 
+    @Override
     public int readInt() throws IOException
     {
         return getDataInputStream().readInt();
     }
 
+    @Override
     public int readUnsignedByte() throws IOException
     {
         return getDataInputStream().readUnsignedByte();
     }
 
+    @Override
     public int readUnsignedShort() throws IOException
     {
         return getDataInputStream().readUnsignedShort();
     }
 
+    @Override
     public long readLong() throws IOException
     {
         return getDataInputStream().readLong();
     }
 
+    @Override
     public short readShort() throws IOException
     {
         return getDataInputStream().readShort();
     }
 
+    @Override
     public boolean readBoolean() throws IOException
     {
         return getDataInputStream().readBoolean();
     }
 
+    @Override
     public int skipBytes(int n) throws IOException
     {
         return getDataInputStream().skipBytes(n);
     }
 
+    @Override
     public void readFully(byte[] b) throws IOException
     {
         getDataInputStream().readFully(b);
     }
 
+    @Override
     public void readFully(byte[] b, int off, int len) throws IOException
     {
         getDataInputStream().readFully(b, off, len);
     }
 
+    @Override
     public String readUTF() throws IOException
     {
         return getDataInputStream().readUTF();
     }
 
+    @Override
     public InputStream getInputStream() throws IOException
     {
         return getDataInputStream();
     }
 
+    @Override
     public void setLength(long newLength) throws IOException
     {
         throw new UnsupportedOperationException();



Mime
View raw message