commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1032009 [2/3] - in /commons/proper/vfs/trunk/core/src: main/java/org/apache/commons/vfs/ main/java/org/apache/commons/vfs/auth/ main/java/org/apache/commons/vfs/cache/ main/java/org/apache/commons/vfs/events/ main/java/org/apache/commons/v...
Date Sat, 06 Nov 2010 11:35:36 GMT
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java Sat Nov  6 11:35:31 2010
@@ -76,6 +76,7 @@ public class FtpFileProvider
     /**
      * Creates the filesystem.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
@@ -95,6 +96,7 @@ public class FtpFileProvider
         return new FtpFileSystem(rootName, ftpClient, fileSystemOptions);
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return FtpFileSystemConfigBuilder.getInstance();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java Sat Nov  6 11:35:31 2010
@@ -56,6 +56,7 @@ public class FtpFileSystem extends Abstr
         idleClient = ftpClient;
     }
 
+    @Override
     protected void doCloseCommunicationLink()
     {
         // Clean up the connection
@@ -69,6 +70,7 @@ public class FtpFileSystem extends Abstr
     /**
      * Adds the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(FtpFileProvider.capabilities);
@@ -142,6 +144,7 @@ public class FtpFileSystem extends Abstr
     /**
      * Creates a file object.
      */
+    @Override
     protected FileObject createFile(final FileName name)
         throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -105,6 +105,7 @@ public final class FtpFileSystemConfigBu
         return getString(opts, FACTORY_KEY);
     }
 
+    @Override
     protected Class getConfigClass()
     {
         return FtpFileSystem.class;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpRandomAccessContent.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftp/FtpRandomAccessContent.java Sat Nov  6 11:35:31 2010
@@ -72,6 +72,7 @@ class FtpRandomAccessContent extends Abs
         filePointer = pos;
     }
 
+    @Override
     protected DataInputStream getDataInputStream() throws IOException
     {
         if (dis != null)
@@ -83,6 +84,7 @@ class FtpRandomAccessContent extends Abs
         mis = fileObject.getInputStream(filePointer);
         dis = new DataInputStream(new FilterInputStream(mis)
         {
+            @Override
             public int read() throws IOException
             {
                 int ret = super.read();
@@ -93,6 +95,7 @@ class FtpRandomAccessContent extends Abs
                 return ret;
             }
 
+            @Override
             public int read(byte[] b) throws IOException
             {
                 int ret = super.read(b);
@@ -103,6 +106,7 @@ class FtpRandomAccessContent extends Abs
                 return ret;
             }
 
+            @Override
             public int read(byte[] b, int off, int len) throws IOException
             {
                 int ret = super.read(b, off, len);
@@ -113,6 +117,7 @@ class FtpRandomAccessContent extends Abs
                 return ret;
             }
 
+            @Override
             public void close() throws IOException
             {
                 FtpRandomAccessContent.this.close();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileProvider.java Sat Nov  6 11:35:31 2010
@@ -45,6 +45,7 @@ public class FtpsFileProvider extends Ft
     /**
      * Creates the filesystem.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
@@ -56,6 +57,7 @@ public class FtpsFileProvider extends Ft
         return new FtpFileSystem(rootName, ftpClient, fileSystemOptions);
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return FtpsFileSystemConfigBuilder.getInstance();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ftps/FtpsFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -101,6 +101,7 @@ public class FtpsFileSystemConfigBuilder
     return (String)getParam(opts, FACTORY_KEY);
   }
 
+  @Override
   protected Class getConfigClass() {
     return FtpFileSystem.class;
   }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileObject.java Sat Nov  6 11:35:31 2010
@@ -39,12 +39,14 @@ public class GzipFileObject extends Comp
         super(name, container, fs);
     }
 
+    @Override
     protected InputStream doGetInputStream() throws Exception
     {
         InputStream is = getContainer().getContent().getInputStream();
         return new GZIPInputStream(is);
     }
 
+    @Override
     protected OutputStream doGetOutputStream(boolean bAppend) throws Exception
     {
         OutputStream os = getContainer().getContent().getOutputStream(false);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileProvider.java Sat Nov  6 11:35:31 2010
@@ -55,12 +55,14 @@ public class GzipFileProvider extends Co
         super();
     }
 
+    @Override
     protected FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
             throws FileSystemException
     {
         return new GzipFileSystem(name, file, fileSystemOptions);
     }
 
+    @Override
     public Collection getCapabilities()
     {
         return capabilities;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/gzip/GzipFileSystem.java Sat Nov  6 11:35:31 2010
@@ -38,11 +38,13 @@ public class GzipFileSystem extends Comp
         super(rootName, parentLayer, fileSystemOptions);
     }
 
+    @Override
     protected FileObject createFile(FileName name) throws FileSystemException
     {
         return new GzipFileObject(name, getParentLayer(), this);
     }
 
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(GzipFileProvider.capabilities);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java Sat Nov  6 11:35:31 2010
@@ -65,6 +65,7 @@ public class HttpFileObject
     /**
      * Detaches this file object from its file resource.
      */
+    @Override
     protected void doDetach()
         throws Exception
     {
@@ -75,6 +76,7 @@ public class HttpFileObject
      * Determines the type of this file.  Must not return null.  The return
      * value of this method is cached, so the implementation can be expensive.
      */
+    @Override
     protected FileType doGetType()
         throws Exception
     {
@@ -102,6 +104,7 @@ public class HttpFileObject
     /**
      * Lists the children of this file.
      */
+    @Override
     protected String[] doListChildren()
         throws Exception
     {
@@ -111,6 +114,7 @@ public class HttpFileObject
     /**
      * Returns the size of the file content (in bytes).
      */
+    @Override
     protected long doGetContentSize()
         throws Exception
     {
@@ -128,6 +132,7 @@ public class HttpFileObject
      * <p/>
      * This implementation throws an exception.
      */
+    @Override
     protected long doGetLastModifiedTime()
         throws Exception
     {
@@ -148,6 +153,7 @@ public class HttpFileObject
      * <p/>
      * <p>The returned stream does not have to be buffered.
      */
+    @Override
     protected InputStream doGetInputStream()
         throws Exception
     {
@@ -166,6 +172,7 @@ public class HttpFileObject
         return new HttpInputStream(getMethod);
     }
 
+    @Override
     protected RandomAccessContent doGetRandomAccessContent(final RandomAccessMode mode) throws Exception
     {
         return new HttpRandomAccessContent(this, mode);
@@ -206,6 +213,7 @@ public class HttpFileObject
         /**
          * Called after the stream has been closed.
          */
+        @Override
         protected void onClose()
             throws IOException
         {
@@ -214,6 +222,7 @@ public class HttpFileObject
     }
 
 
+    @Override
     protected FileContentInfoFactory getFileContentInfoFactory()
     {
         return new HttpFileContentInfoFactory();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java Sat Nov  6 11:35:31 2010
@@ -68,6 +68,7 @@ public class HttpFileProvider
     /**
      * Creates a {@link FileSystem}.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
@@ -98,6 +99,7 @@ public class HttpFileProvider
         return new HttpFileSystem(rootName, httpClient, fileSystemOptions);
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return HttpFileSystemConfigBuilder.getInstance();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java Sat Nov  6 11:35:31 2010
@@ -50,6 +50,7 @@ public class HttpFileSystem
     /**
      * Adds the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(HttpFileProvider.capabilities);
@@ -60,6 +61,7 @@ public class HttpFileSystem
         return client;
     }
 
+    @Override
     public void closeCommunicationLink()
     {
         if (getClient() != null)
@@ -80,6 +82,7 @@ public class HttpFileSystem
      * Creates a file object.  This method is called only if the requested
      * file is not cached.
      */
+    @Override
     protected FileObject createFile(final FileName name)
         throws Exception
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -230,7 +230,8 @@ public class HttpFileSystemConfigBuilder
 		setParam(opts, OPTION_NAME__PREEMPTIVE_AUTHENTICATION, Boolean.valueOf(preemptiveAuth));
 	}
 
-	protected Class getConfigClass()
+	@Override
+    protected Class getConfigClass()
     {
         return HttpFileSystem.class;
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpRandomAccessContent.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpRandomAccessContent.java Sat Nov  6 11:35:31 2010
@@ -78,6 +78,7 @@ class HttpRandomAccessContent extends Ab
         filePointer = pos;
     }
 
+    @Override
     protected DataInputStream getDataInputStream() throws IOException
     {
         if (dis != null)
@@ -114,6 +115,7 @@ class HttpRandomAccessContent extends Ab
         }
         dis = new DataInputStream(new FilterInputStream(mis)
         {
+            @Override
             public int read() throws IOException
             {
                 int ret = super.read();
@@ -124,6 +126,7 @@ class HttpRandomAccessContent extends Ab
                 return ret;
             }
 
+            @Override
             public int read(byte[] b) throws IOException
             {
                 int ret = super.read(b);
@@ -134,6 +137,7 @@ class HttpRandomAccessContent extends Ab
                 return ret;
             }
 
+            @Override
             public int read(byte[] b, int off, int len) throws IOException
             {
                 int ret = super.read(b, off, len);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java Sat Nov  6 11:35:31 2010
@@ -46,6 +46,7 @@ public class ThreadLocalHttpConnectionMa
      */
     protected ThreadLocal localHttpConnection = new ThreadLocal()
     {
+        @Override
         protected Object initialValue()
         {
             return new Entry();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileObject.java Sat Nov  6 11:35:31 2010
@@ -101,6 +101,7 @@ public class JarFileObject extends ZipFi
     /**
      * Returns the value of an attribute.
      */
+    @Override
     protected Map doGetAttributes()
         throws Exception
     {
@@ -133,6 +134,7 @@ public class JarFileObject extends ZipFi
     /**
      * Return the certificates of this JarEntry.
      */
+    @Override
     protected Certificate[] doGetCertificates()
     {
         if (entry == null)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java Sat Nov  6 11:35:31 2010
@@ -72,6 +72,7 @@ public class JarFileProvider
      * @param file   The file to create the file system on top of.
      * @return The file system.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final String scheme,
                                             final FileObject file,
                                             final FileSystemOptions fileSystemOptions)
@@ -82,6 +83,7 @@ public class JarFileProvider
         return new JarFileSystem(name, file, fileSystemOptions);
     }
 
+    @Override
     public Collection getCapabilities()
     {
         return capabilities;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java Sat Nov  6 11:35:31 2010
@@ -51,6 +51,7 @@ public class JarFileSystem
         super(rootName, file, fileSystemOptions);
     }
 
+    @Override
     protected ZipFile createZipFile(File file) throws FileSystemException
     {
         try
@@ -63,6 +64,7 @@ public class JarFileSystem
         }
     }
 
+    @Override
     protected ZipFileObject createZipFileObject(FileName name,
                                                 ZipEntry entry) throws FileSystemException
     {
@@ -72,6 +74,7 @@ public class JarFileSystem
     /**
      * Returns the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         // super.addCapabilities(caps);
@@ -198,6 +201,7 @@ public class JarFileSystem
      * @return The value of the attribute.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public Object getAttribute(String attrName) throws FileSystemException
     {
         final Name name = lookupName(attrName);
@@ -205,6 +209,7 @@ public class JarFileSystem
     }
 
 
+    @Override
     protected ZipFile getZipFile() throws FileSystemException
     {
         return super.getZipFile();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarURLConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarURLConnectionImpl.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarURLConnectionImpl.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarURLConnectionImpl.java Sat Nov  6 11:35:31 2010
@@ -62,65 +62,76 @@ public class JarURLConnectionImpl
     }
 
 
+    @Override
     public URL getJarFileURL()
     {
         return parentURL;
     }
 
 
+    @Override
     public String getEntryName()
     {
         return entryName;
     }
 
 
+    @Override
     public JarFile getJarFile() throws IOException
     {
         throw new FileSystemException("vfs.provider.jar/jar-file-no-access.error");
     }
 
 
+    @Override
     public Manifest getManifest() throws IOException
     {
         return file.getManifest();
     }
 
 
+    @Override
     public JarEntry getJarEntry() throws IOException
     {
         throw new FileSystemException("vfs.provider.jar/jar-entry-no-access.error");
     }
 
 
+    @Override
     public Attributes getAttributes() throws IOException
     {
         return file.getAttributes();
     }
 
 
+    @Override
     public Certificate[] getCertificates()
     {
         return file.doGetCertificates();
     }
 
 
+    @Override
     public void connect()
     {
         connected = true;
     }
 
+    @Override
     public InputStream getInputStream()
         throws IOException
     {
         return content.getInputStream();
     }
 
+    @Override
     public OutputStream getOutputStream()
         throws IOException
     {
         return content.getOutputStream();
     }
 
+    @Override
     public int getContentLength()
     {
         try

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java Sat Nov  6 11:35:31 2010
@@ -117,6 +117,7 @@ public class DefaultLocalFileProvider
     /**
      * Creates the filesystem.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/GenericFileNameParser.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/GenericFileNameParser.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/GenericFileNameParser.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/GenericFileNameParser.java Sat Nov  6 11:35:31 2010
@@ -44,6 +44,7 @@ public class GenericFileNameParser
     /**
      * Pops the root prefix off a URI, which has had the scheme removed.
      */
+    @Override
     protected String extractRootPrefix(final String uri,
                                        final StringBuffer name)
         throws FileSystemException
@@ -65,6 +66,7 @@ public class GenericFileNameParser
      * here the rootFilename can only be "/" (see above) put this "/" is also in the pathname
      * so its of no value for the LocalFileName instance
      */
+    @Override
     protected FileName createFileName(String scheme, final String rootFile, final String path, final FileType type)
     {
         return new LocalFileName(scheme, "", path, type);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFile.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFile.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFile.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFile.java Sat Nov  6 11:35:31 2010
@@ -70,6 +70,7 @@ public class LocalFile
     /**
      * Attaches this file object to its file resource.
      */
+    @Override
     protected void doAttach()
         throws Exception
     {
@@ -86,6 +87,7 @@ public class LocalFile
     /**
      * Returns the file's type.
      */
+    @Override
     protected FileType doGetType()
         throws Exception
     {
@@ -113,6 +115,7 @@ public class LocalFile
     /**
      * Returns the children of the file.
      */
+    @Override
     protected String[] doListChildren()
         throws Exception
     {
@@ -122,6 +125,7 @@ public class LocalFile
     /**
      * Deletes this file, and all children.
      */
+    @Override
     protected void doDelete()
         throws Exception
     {
@@ -134,6 +138,7 @@ public class LocalFile
     /**
      * rename this file
      */
+    @Override
     protected void doRename(final FileObject newfile) throws Exception
     {
         LocalFile newLocalFile = (LocalFile) FileObjectUtils.getAbstractFileObject(newfile);
@@ -148,6 +153,7 @@ public class LocalFile
     /**
      * Creates this folder.
      */
+    @Override
     protected void doCreateFolder()
         throws Exception
     {
@@ -160,6 +166,7 @@ public class LocalFile
     /**
      * Determines if this file can be written to.
      */
+    @Override
     protected boolean doIsWriteable() throws FileSystemException
     {
         return file.canWrite();
@@ -168,6 +175,7 @@ public class LocalFile
     /**
      * Determines if this file is hidden.
      */
+    @Override
     protected boolean doIsHidden()
     {
         return file.isHidden();
@@ -176,6 +184,7 @@ public class LocalFile
     /**
      * Determines if this file can be read.
      */
+    @Override
     protected boolean doIsReadable() throws FileSystemException
     {
         return file.canRead();
@@ -184,6 +193,7 @@ public class LocalFile
     /**
      * Gets the last modified time of this file.
      */
+    @Override
     protected long doGetLastModifiedTime() throws FileSystemException
     {
         return file.lastModified();
@@ -192,6 +202,7 @@ public class LocalFile
     /**
      * Sets the last modified time of this file.
      */
+    @Override
     protected boolean doSetLastModTime(final long modtime)
         throws FileSystemException
     {
@@ -201,6 +212,7 @@ public class LocalFile
     /**
      * Creates an input stream to read the content from.
      */
+    @Override
     protected InputStream doGetInputStream()
         throws Exception
     {
@@ -210,6 +222,7 @@ public class LocalFile
     /**
      * Creates an output stream to write the file content to.
      */
+    @Override
     protected OutputStream doGetOutputStream(boolean bAppend)
         throws Exception
     {
@@ -219,17 +232,20 @@ public class LocalFile
     /**
      * Returns the size of the file content (in bytes).
      */
+    @Override
     protected long doGetContentSize()
         throws Exception
     {
         return file.length();
     }
 
+    @Override
     protected RandomAccessContent doGetRandomAccessContent(final RandomAccessMode mode) throws Exception
     {
         return new LocalFileRandomAccessContent(file, mode);
     }
 
+    @Override
     protected boolean doIsSameFile(FileObject destFile) throws FileSystemException
     {
         if (!FileObjectUtils.isInstanceOf(destFile, LocalFile.class))

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileName.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileName.java Sat Nov  6 11:35:31 2010
@@ -54,6 +54,7 @@ public class LocalFileName extends Abstr
      * @param type The file type.
      * @return The FileName.
      */
+    @Override
     public FileName createName(final String path, FileType type)
     {
         return new LocalFileName(getScheme(), rootFile, path, type);
@@ -62,6 +63,7 @@ public class LocalFileName extends Abstr
     /**
      * Builds the root URI for this file name.
      */
+    @Override
     protected void appendRootUri(final StringBuffer buffer, boolean addPassword)
     {
         buffer.append(getScheme());

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileRandomAccessContent.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileRandomAccessContent.java Sat Nov  6 11:35:31 2010
@@ -48,6 +48,7 @@ class LocalFileRandomAccessContent exten
             raf = new RandomAccessFile(localFile, mode.getModeString());
             rafis = new InputStream()
             {
+                @Override
                 public int read() throws IOException
                 {
                     try
@@ -60,27 +61,32 @@ class LocalFileRandomAccessContent exten
                     }
                 }
 
+                @Override
                 public long skip(long n) throws IOException
                 {
                     raf.seek(raf.getFilePointer() + n);
                     return n;
                 }
 
+                @Override
                 public void close() throws IOException
                 {
                     raf.close();
                 }
 
+                @Override
                 public int read(byte[] b) throws IOException
                 {
                     return raf.read(b);
                 }
 
+                @Override
                 public int read(byte[] b, int off, int len) throws IOException
                 {
                     return raf.read(b, off, len);
                 }
 
+                @Override
                 public int available() throws IOException
                 {
                     long available = raf.length() - raf.getFilePointer();
@@ -189,71 +195,85 @@ class LocalFileRandomAccessContent exten
         return raf.readUTF();
     }
 
+    @Override
     public void writeDouble(double v) throws IOException
     {
         raf.writeDouble(v);
     }
 
+    @Override
     public void writeFloat(float v) throws IOException
     {
         raf.writeFloat(v);
     }
 
+    @Override
     public void write(int b) throws IOException
     {
         raf.write(b);
     }
 
+    @Override
     public void writeByte(int v) throws IOException
     {
         raf.writeByte(v);
     }
 
+    @Override
     public void writeChar(int v) throws IOException
     {
         raf.writeChar(v);
     }
 
+    @Override
     public void writeInt(int v) throws IOException
     {
         raf.writeInt(v);
     }
 
+    @Override
     public void writeShort(int v) throws IOException
     {
         raf.writeShort(v);
     }
 
+    @Override
     public void writeLong(long v) throws IOException
     {
         raf.writeLong(v);
     }
 
+    @Override
     public void writeBoolean(boolean v) throws IOException
     {
         raf.writeBoolean(v);
     }
 
+    @Override
     public void write(byte[] b) throws IOException
     {
         raf.write(b);
     }
 
+    @Override
     public void write(byte[] b, int off, int len) throws IOException
     {
         raf.write(b, off, len);
     }
 
+    @Override
     public void writeBytes(String s) throws IOException
     {
         raf.writeBytes(s);
     }
 
+    @Override
     public void writeChars(String s) throws IOException
     {
         raf.writeChars(s);
     }
 
+    @Override
     public void writeUTF(String str) throws IOException
     {
         raf.writeUTF(str);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java Sat Nov  6 11:35:31 2010
@@ -51,6 +51,7 @@ public class LocalFileSystem
     /**
      * Creates a file object.
      */
+    @Override
     protected FileObject createFile(final FileName name) throws FileSystemException
     {
         // Create the file
@@ -60,6 +61,7 @@ public class LocalFileSystem
     /**
      * Returns the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(DefaultLocalFileProvider.capabilities);
@@ -68,6 +70,7 @@ public class LocalFileSystem
     /**
      * Creates a temporary local copy of a file and its descendents.
      */
+    @Override
     protected File doReplicateFile(final FileObject fileObject,
                                    final FileSelector selector)
         throws Exception

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileName.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileName.java Sat Nov  6 11:35:31 2010
@@ -41,6 +41,7 @@ public class WindowsFileName extends Loc
      * @param type The file type.
      * @return The FileName.
      */
+    @Override
     public FileName createName(final String path, FileType type)
     {
         return new WindowsFileName(getScheme(), getRootFile(), path, type);
@@ -49,6 +50,7 @@ public class WindowsFileName extends Loc
     /**
      * Builds the root URI for this file name.
      */
+    @Override
     protected void appendRootUri(final StringBuffer buffer, boolean addPassword)
     {
         buffer.append(getScheme());

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileNameParser.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileNameParser.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileNameParser.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/local/WindowsFileNameParser.java Sat Nov  6 11:35:31 2010
@@ -32,6 +32,7 @@ public class WindowsFileNameParser
     /**
      * Pops the root prefix off a URI, which has had the scheme removed.
      */
+    @Override
     protected String extractRootPrefix(final String uri,
                                        final StringBuffer name)
         throws FileSystemException
@@ -39,6 +40,7 @@ public class WindowsFileNameParser
         return extractWindowsRootPrefix(uri, name);
     }
 
+    @Override
     protected FileName createFileName(String scheme, final String rootFile, final String path, final FileType type)
     {
         return new WindowsFileName(scheme, rootFile, path, type);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileData.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileData.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileData.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileData.java Sat Nov  6 11:35:31 2010
@@ -153,6 +153,7 @@ class RamFileData implements Serializabl
      *
      * @see java.lang.Object#toString()
      */
+    @Override
     public String toString()
     {
         return this.name.toString();
@@ -224,6 +225,7 @@ class RamFileData implements Serializabl
      *
      * @see java.lang.Object#equals(java.lang.Object)
      */
+    @Override
     public boolean equals(Object o)
     {
         if (this == o)
@@ -243,6 +245,7 @@ class RamFileData implements Serializabl
      *
      * @see java.lang.Object#hashCode()
      */
+    @Override
     public int hashCode()
     {
         return this.getName().hashCode();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileObject.java Sat Nov  6 11:35:31 2010
@@ -67,6 +67,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetType()
      */
+    @Override
     protected FileType doGetType() throws Exception
     {
         return data.getType();
@@ -77,6 +78,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doListChildren()
      */
+    @Override
     protected String[] doListChildren() throws Exception
     {
         return this.fs.listChildren(this.getName());
@@ -87,6 +89,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetContentSize()
      */
+    @Override
     protected long doGetContentSize() throws Exception
     {
         return this.data.getBuffer().length;
@@ -97,6 +100,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetInputStream()
      */
+    @Override
     protected InputStream doGetInputStream() throws Exception
     {
         // VFS-210: ram allows to gather an input stream even from a directory. So we need to check the type anyway.
@@ -113,6 +117,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetOutputStream(boolean)
      */
+    @Override
     protected OutputStream doGetOutputStream(boolean bAppend) throws Exception
     {
         if (!bAppend)
@@ -127,6 +132,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doDelete()
      */
+    @Override
     protected void doDelete() throws Exception
     {
         fs.delete(this);
@@ -137,6 +143,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetLastModifiedTime()
      */
+    @Override
     protected long doGetLastModifiedTime() throws Exception
     {
         return data.getLastModified();
@@ -147,6 +154,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doSetLastModifiedTime(long)
      */
+    @Override
     protected boolean doSetLastModTime(long modtime) throws Exception
     {
         data.setLastModified(modtime);
@@ -158,6 +166,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doCreateFolder()
      */
+    @Override
     protected void doCreateFolder() throws Exception
     {
         this.injectType(FileType.FOLDER);
@@ -169,6 +178,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doRename(org.apache.commons.vfs.FileObject)
      */
+    @Override
     protected void doRename(FileObject newfile) throws Exception
     {
         fs.rename(this, (RamFileObject) newfile);
@@ -180,6 +190,7 @@ public class RamFileObject extends Abstr
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doGetRandomAccessContent(
      *      org.apache.commons.vfs.util.RandomAccessMode)
      */
+    @Override
     protected RandomAccessContent doGetRandomAccessContent(RandomAccessMode mode)
             throws Exception
     {
@@ -191,6 +202,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#doAttach()
      */
+    @Override
     protected void doAttach() throws Exception
     {
         this.fs.attach(this);
@@ -218,6 +230,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#injectType(org.apache.commons.vfs.FileType)
      */
+    @Override
     protected void injectType(FileType fileType)
     {
         this.data.setType(fileType);
@@ -229,6 +242,7 @@ public class RamFileObject extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileObject#endOutput()
      */
+    @Override
     protected void endOutput() throws Exception
     {
         super.endOutput();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileOutputStream.java Sat Nov  6 11:35:31 2010
@@ -57,6 +57,7 @@ public class RamFileOutputStream extends
      *
      * @see java.io.DataOutput#write(byte[], int, int)
      */
+    @Override
     public void write(byte[] b, int off, int len) throws IOException
     {
         int size = this.file.getData().size();
@@ -79,16 +80,19 @@ public class RamFileOutputStream extends
      *
      * @see java.io.DataOutput#write(int)
      */
+    @Override
     public void write(int b) throws IOException
     {
         buffer1[0] = (byte) b;
         this.write(buffer1);
     }
 
+    @Override
     public void flush() throws IOException
     {
     }
 
+    @Override
     public void close() throws IOException
     {
         if (closed)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileProvider.java Sat Nov  6 11:35:31 2010
@@ -63,6 +63,7 @@ public class RamFileProvider extends Abs
      * @see org.apache.commons.vfs.provider.AbstractOriginatingFileProvider#doCreateFileSystem(
      *      org.apache.commons.vfs.FileName, org.apache.commons.vfs.FileSystemOptions)
      */
+    @Override
     protected FileSystem doCreateFileSystem(FileName name,
             FileSystemOptions fileSystemOptions) throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileRandomAccessContent.java Sat Nov  6 11:35:31 2010
@@ -87,6 +87,7 @@ public class RamFileRandomAccessContent 
 
         rafis = new InputStream()
         {
+            @Override
             public int read() throws IOException
             {
                 try
@@ -99,21 +100,25 @@ public class RamFileRandomAccessContent 
                 }
             }
 
+            @Override
             public long skip(long n) throws IOException
             {
                 seek(getFilePointer() + n);
                 return n;
             }
 
+            @Override
             public void close() throws IOException
             {
             }
 
+            @Override
             public int read(byte[] b) throws IOException
             {
                 return read(b, 0, b.length);
             }
 
+            @Override
             public int read(byte[] b, int off, int len) throws IOException
             {
                 int retLen = Math.min(len, getLeftBytes());
@@ -121,6 +126,7 @@ public class RamFileRandomAccessContent 
                 return retLen;
             }
 
+            @Override
             public int available() throws IOException
             {
                 return getLeftBytes();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystem.java Sat Nov  6 11:35:31 2010
@@ -67,6 +67,7 @@ public class RamFileSystem extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileSystem#createFile(org.apache.commons.vfs.FileName)
      */
+    @Override
     protected FileObject createFile(FileName name) throws Exception
     {
         RamFileObject file = new RamFileObject(name, this);
@@ -78,6 +79,7 @@ public class RamFileSystem extends Abstr
      *
      * @see org.apache.commons.vfs.provider.AbstractFileSystem#addCapabilities(java.util.Collection)
      */
+    @Override
     protected void addCapabilities(Collection caps)
     {
         caps.addAll(RamFileProvider.capabilities);
@@ -310,6 +312,7 @@ public class RamFileSystem extends Abstr
     /**
      * Close the RAMFileSystem.
      */
+    @Override
     public void close()
     {
         this.cache.clear();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/ram/RamFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -51,6 +51,7 @@ public final class RamFileSystemConfigBu
     /**
      * {@inheritDoc}
      */
+    @Override
     protected Class getConfigClass()
     {
         return RamFileSystem.class;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileProvider.java Sat Nov  6 11:35:31 2010
@@ -82,11 +82,13 @@ public class ResourceFileProvider extend
         return fo;
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return org.apache.commons.vfs.provider.res.ResourceFileSystemConfigBuilder.getInstance();
     }
 
+    @Override
     public void closeFileSystem(FileSystem filesystem)
     {
         // no filesystem created here - so nothing to do

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/res/ResourceFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -51,6 +51,7 @@ public final class ResourceFileSystemCon
         return (ClassLoader) getParam(opts, ClassLoader.class.getName());
     }
 
+    @Override
     protected Class getConfigClass()
     {
         return UrlFileSystem.class;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java Sat Nov  6 11:35:31 2010
@@ -68,11 +68,13 @@ public class SftpFileObject extends Abst
                 name));
     }
 
+    @Override
     protected void doDetach() throws Exception
     {
         attrs = null;
     }
 
+    @Override
     public void refresh() throws FileSystemException
     {
         if (!inRefresh)
@@ -102,6 +104,7 @@ public class SftpFileObject extends Abst
      * Determines the type of this file, returns null if the file does not
      * exist.
      */
+    @Override
     protected FileType doGetType() throws Exception
     {
         if (attrs == null)
@@ -132,6 +135,7 @@ public class SftpFileObject extends Abst
     /**
      * Called when the type or content of this file changes.
      */
+    @Override
     protected void onChange() throws Exception
     {
         statSelf();
@@ -194,6 +198,7 @@ public class SftpFileObject extends Abst
     /**
      * Creates this file as a folder.
      */
+    @Override
     protected void doCreateFolder() throws Exception
     {
         final ChannelSftp channel = fileSystem.getChannel();
@@ -207,6 +212,7 @@ public class SftpFileObject extends Abst
         }
     }
 
+    @Override
     protected long doGetLastModifiedTime() throws Exception
     {
         if (attrs == null
@@ -227,6 +233,7 @@ public class SftpFileObject extends Abst
      *            times with nanosecond precision but at the moment jsch send
      *            them with second precision.
      */
+    @Override
     protected void doSetLastModifiedTime(final long modtime) throws Exception
     {
         final ChannelSftp channel = fileSystem.getChannel();
@@ -246,6 +253,7 @@ public class SftpFileObject extends Abst
     /**
      * Deletes the file.
      */
+    @Override
     protected void doDelete() throws Exception
     {
         final ChannelSftp channel = fileSystem.getChannel();
@@ -269,6 +277,7 @@ public class SftpFileObject extends Abst
     /**
      * Rename the file.
      */
+    @Override
     protected void doRename(FileObject newfile) throws Exception
     {
         final ChannelSftp channel = fileSystem.getChannel();
@@ -285,6 +294,7 @@ public class SftpFileObject extends Abst
     /**
      * Lists the children of this file.
      */
+    @Override
     protected FileObject[] doListChildrenResolved() throws Exception
     {
         // List the contents of the folder
@@ -393,6 +403,7 @@ public class SftpFileObject extends Abst
     /**
      * Lists the children of this file.
      */
+    @Override
     protected String[] doListChildren() throws Exception
     {
         // use doListChildrenResolved for performance
@@ -402,6 +413,7 @@ public class SftpFileObject extends Abst
     /**
      * Returns the size of the file content (in bytes).
      */
+    @Override
     protected long doGetContentSize() throws Exception
     {
         if (attrs == null
@@ -413,6 +425,7 @@ public class SftpFileObject extends Abst
         return attrs.getSize();
     }
 
+    @Override
     protected RandomAccessContent doGetRandomAccessContent(
             final RandomAccessMode mode) throws Exception
     {
@@ -453,6 +466,7 @@ public class SftpFileObject extends Abst
     /**
      * Creates an input stream to read the file content from.
      */
+    @Override
     protected InputStream doGetInputStream() throws Exception
     {
         // VFS-113: avoid npe
@@ -509,6 +523,7 @@ public class SftpFileObject extends Abst
     /**
      * Creates an output stream to write the file content to.
      */
+    @Override
     protected OutputStream doGetOutputStream(boolean bAppend) throws Exception
     {
         // TODO - Don't write the entire file into memory. Use the stream-based
@@ -538,6 +553,7 @@ public class SftpFileObject extends Abst
         /**
          * Called after the stream has been closed.
          */
+        @Override
         protected void onClose() throws IOException
         {
             fileSystem.putChannel(channel);
@@ -561,6 +577,7 @@ public class SftpFileObject extends Abst
         /**
          * Called after this stream is closed.
          */
+        @Override
         protected void onClose() throws IOException
         {
             fileSystem.putChannel(channel);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java Sat Nov  6 11:35:31 2010
@@ -78,6 +78,7 @@ public class SftpFileProvider extends Ab
     /**
      * Creates a {@link FileSystem}.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
@@ -132,10 +133,12 @@ public class SftpFileProvider extends Ab
      * Initialises the component.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public void init() throws FileSystemException
     {
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return SftpFileSystemConfigBuilder.getInstance();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java Sat Nov  6 11:35:31 2010
@@ -56,6 +56,7 @@ public class SftpFileSystem
         this.session = session;
     }
 
+    @Override
     protected void doCloseCommunicationLink()
     {
         if (idleChannel != null)
@@ -176,6 +177,7 @@ public class SftpFileSystem
     /**
      * Adds the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(SftpFileProvider.capabilities);
@@ -185,6 +187,7 @@ public class SftpFileSystem
      * Creates a file object.  This method is called only if the requested
      * file is not cached.
      */
+    @Override
     protected FileObject createFile(final FileName name)
         throws FileSystemException
     {
@@ -196,6 +199,7 @@ public class SftpFileSystem
      *
      * @return 1000
      */
+    @Override
     public double getLastModTimeAccuracy()
     {
         return 1000L;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -68,6 +68,7 @@ public final class SftpFileSystemConfigB
             return proxyType.compareTo(((ProxyType) o).proxyType);
         }
 
+        @Override
         public boolean equals(Object o)
         {
             if (this == o)
@@ -89,6 +90,7 @@ public final class SftpFileSystemConfigB
             return true;
         }
 
+        @Override
         public int hashCode()
         {
             return proxyType.hashCode();
@@ -259,6 +261,7 @@ public final class SftpFileSystemConfigB
         return getInteger(opts, TIMEOUT);
     }
 
+    @Override
     protected Class getConfigClass()
     {
         return SftpFileSystem.class;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpRandomAccessContent.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpRandomAccessContent.java Sat Nov  6 11:35:31 2010
@@ -75,6 +75,7 @@ class SftpRandomAccessContent extends Ab
         filePointer = pos;
     }
 
+    @Override
     protected DataInputStream getDataInputStream() throws IOException
     {
         if (dis != null)
@@ -86,6 +87,7 @@ class SftpRandomAccessContent extends Ab
         mis = fileObject.getInputStream(filePointer);
         dis = new DataInputStream(new FilterInputStream(mis)
         {
+            @Override
             public int read() throws IOException
             {
                 int ret = super.read();
@@ -96,6 +98,7 @@ class SftpRandomAccessContent extends Ab
                 return ret;
             }
 
+            @Override
             public int read(byte[] b) throws IOException
             {
                 int ret = super.read(b);
@@ -106,6 +109,7 @@ class SftpRandomAccessContent extends Ab
                 return ret;
             }
 
+            @Override
             public int read(byte[] b, int off, int len) throws IOException
             {
                 int ret = super.read(b, off, len);
@@ -116,6 +120,7 @@ class SftpRandomAccessContent extends Ab
                 return ret;
             }
 
+            @Override
             public void close() throws IOException
             {
                 SftpRandomAccessContent.this.close();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java Sat Nov  6 11:35:31 2010
@@ -609,6 +609,7 @@ class TarEntry
      * @param other Entry to be checked for equality.
      * @return True if the entries are equal.
      */
+    @Override
     public boolean equals(final Object other)
     {
         if (!(other instanceof TarEntry))
@@ -619,6 +620,7 @@ class TarEntry
         return getName().equals(entry.getName());
     }
 
+    @Override
     public int hashCode()
     {
         return getName().hashCode();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileObject.java Sat Nov  6 11:35:31 2010
@@ -91,6 +91,7 @@ public class TarFileObject
      * @return <code>true</code> if this file is writeable, <code>false</code> if not.
      * @throws FileSystemException if an error occurs.
      */
+    @Override
     public boolean isWriteable() throws FileSystemException
     {
         return false;
@@ -99,6 +100,7 @@ public class TarFileObject
     /**
      * Returns the file's type.
      */
+    @Override
     protected FileType doGetType()
     {
         return type;
@@ -107,6 +109,7 @@ public class TarFileObject
     /**
      * Lists the children of the file.
      */
+    @Override
     protected String[] doListChildren()
     {
         try
@@ -129,6 +132,7 @@ public class TarFileObject
      * Returns the size of the file content (in bytes).  Is only called if
      * {@link #doGetType} returns {@link FileType#FILE}.
      */
+    @Override
     protected long doGetContentSize()
     {
         if (entry == null)
@@ -142,6 +146,7 @@ public class TarFileObject
     /**
      * Returns the last modified time of this file.
      */
+    @Override
     protected long doGetLastModifiedTime() throws Exception
     {
         if (entry == null)
@@ -158,6 +163,7 @@ public class TarFileObject
      * returned by this method is guaranteed to be closed before this
      * method is called again.
      */
+    @Override
     protected InputStream doGetInputStream() throws Exception
     {
         // VFS-210: zip allows to gather an input stream even from a directory and will

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileProvider.java Sat Nov  6 11:35:31 2010
@@ -63,6 +63,7 @@ public class TarFileProvider
      * @param file   The file to create the file system on top of.
      * @return The file system.
      */
+    @Override
     protected FileSystem doCreateFileSystem(final String scheme,
                                             final FileObject file,
                                             final FileSystemOptions fileSystemOptions)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarFileSystem.java Sat Nov  6 11:35:31 2010
@@ -77,6 +77,7 @@ public class TarFileSystem
         // tarFile = createTarFile(this.file);
     }
 
+    @Override
     public void init() throws FileSystemException
     {
         super.init();
@@ -218,6 +219,7 @@ public class TarFileSystem
         }
     }
 
+    @Override
     protected void doCloseCommunicationLink()
     {
         // Release the tar file
@@ -239,6 +241,7 @@ public class TarFileSystem
     /**
      * Returns the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(TarFileProvider.capabilities);
@@ -247,6 +250,7 @@ public class TarFileSystem
     /**
      * Creates a file object.
      */
+    @Override
     protected FileObject createFile(final FileName name) throws FileSystemException
     {
         // This is only called for files which do not exist in the Tar file

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarInputStream.java Sat Nov  6 11:35:31 2010
@@ -232,6 +232,7 @@ class TarInputStream
      * @return The number of available bytes for the current entry.
      * @throws IOException when an IO error causes operation to fail
      */
+    @Override
     public int available()
             throws IOException
     {
@@ -249,6 +250,7 @@ class TarInputStream
      *
      * @throws IOException when an IO error causes operation to fail
      */
+    @Override
     public void close()
             throws IOException
     {
@@ -283,6 +285,7 @@ class TarInputStream
      *
      * @param markLimit The limit to mark.
      */
+    @Override
     public void mark(int markLimit)
     {
     }
@@ -292,6 +295,7 @@ class TarInputStream
      *
      * @return False.
      */
+    @Override
     public boolean markSupported()
     {
         return false;
@@ -304,6 +308,7 @@ class TarInputStream
      * @return The byte read, or -1 at EOF.
      * @throws IOException when an IO error causes operation to fail
      */
+    @Override
     public int read()
             throws IOException
     {
@@ -326,6 +331,7 @@ class TarInputStream
      * @return The number of bytes read, or -1 at EOF.
      * @throws IOException when an IO error causes operation to fail
      */
+    @Override
     public int read(final byte[] buffer)
             throws IOException
     {
@@ -343,6 +349,7 @@ class TarInputStream
      * @return The number of bytes read, or -1 at EOF.
      * @throws IOException when an IO error causes operation to fail
      */
+    @Override
     public int read(final byte[] buffer,
                     final int offset,
                     final int count)
@@ -430,6 +437,7 @@ class TarInputStream
     /**
      * Since we do not support marking just yet, we do nothing.
      */
+    @Override
     public void reset()
     {
     }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/Tbz2FileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/Tbz2FileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/Tbz2FileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/Tbz2FileProvider.java Sat Nov  6 11:35:31 2010
@@ -40,6 +40,7 @@ public class Tbz2FileProvider extends Co
         super();
     }
 
+    @Override
     protected String[] getSchemes()
     {
         return SCHEMES;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TgzFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TgzFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TgzFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TgzFileProvider.java Sat Nov  6 11:35:31 2010
@@ -40,6 +40,7 @@ public class TgzFileProvider extends Com
         super();
     }
 
+    @Override
     protected String[] getSchemes()
     {
         return SCHEMES;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileName.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileName.java Sat Nov  6 11:35:31 2010
@@ -44,6 +44,7 @@ public class UrlFileName extends URLFile
         super(scheme, hostName, port, defaultPort, userName, password, path, type, queryString);
     }
 
+    @Override
     protected void appendRootUri(final StringBuffer buffer, boolean addPassword)
     {
         if (getHostName() != null && !"".equals(getHostName()))

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileNameParser.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileNameParser.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileNameParser.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileNameParser.java Sat Nov  6 11:35:31 2010
@@ -41,6 +41,7 @@ public class UrlFileNameParser extends A
         super();
     }
 
+    @Override
     public boolean encodeCharacter(char ch)
     {
         return super.encodeCharacter(ch) || ch == '?';

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileObject.java Sat Nov  6 11:35:31 2010
@@ -56,6 +56,7 @@ public class UrlFileObject
      * before any of the doBlah() or onBlah() methods.  Sub-classes can use
      * this method to perform lazy initialisation.
      */
+    @Override
     protected void doAttach() throws Exception
     {
         if (url == null)
@@ -80,6 +81,7 @@ public class UrlFileObject
     /**
      * Determines the type of the file.
      */
+    @Override
     protected FileType doGetType() throws Exception
     {
         try
@@ -115,6 +117,7 @@ public class UrlFileObject
     /**
      * Returns the size of the file content (in bytes).
      */
+    @Override
     protected long doGetContentSize() throws Exception
     {
         final URLConnection conn = url.openConnection();
@@ -132,6 +135,7 @@ public class UrlFileObject
     /**
      * Returns the last modified time of this file.
      */
+    @Override
     protected long doGetLastModifiedTime()
         throws Exception
     {
@@ -150,6 +154,7 @@ public class UrlFileObject
     /**
      * Lists the children of the file.
      */
+    @Override
     protected String[] doListChildren() throws Exception
     {
         throw new FileSystemException("Not implemented.");
@@ -158,6 +163,7 @@ public class UrlFileObject
     /**
      * Creates an input stream to read the file content from.
      */
+    @Override
     protected InputStream doGetInputStream() throws Exception
     {
         return url.openStream();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java Sat Nov  6 11:35:31 2010
@@ -92,6 +92,7 @@ public class UrlFileProvider
         }
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return org.apache.commons.vfs.provider.res.ResourceFileSystemConfigBuilder.getInstance();

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java Sat Nov  6 11:35:31 2010
@@ -42,6 +42,7 @@ public class UrlFileSystem
     /**
      * Creates a file object.
      */
+    @Override
     protected FileObject createFile(final FileName name)
     {
         return new UrlFileObject(this, name);
@@ -50,6 +51,7 @@ public class UrlFileSystem
     /**
      * Returns the capabilities of this file system.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(UrlFileProvider.capabilities);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java Sat Nov  6 11:35:31 2010
@@ -106,6 +106,7 @@ public class WebdavFileObject extends Ht
      * Determines the type of this file.  Must not return null.  The return
      * value of this method is cached, so the implementation can be expensive.
      */
+    @Override
     protected FileType doGetType() throws Exception
     {
         try
@@ -126,6 +127,7 @@ public class WebdavFileObject extends Ht
     /**
      * Lists the children of the file.
      */
+    @Override
     protected String[] doListChildren() throws Exception
     {
         // use doListChildrenResolved for performance
@@ -135,6 +137,7 @@ public class WebdavFileObject extends Ht
     /**
      * Lists the children of the file.
      */
+    @Override
     protected FileObject[] doListChildrenResolved() throws Exception
     {
         PropFindMethod method = null;
@@ -203,6 +206,7 @@ public class WebdavFileObject extends Ht
     /**
      * Creates this file as a folder.
      */
+    @Override
     protected void doCreateFolder() throws Exception
     {
         DavMethod method = new MkColMethod(urlString((URLFileName) getName()));
@@ -221,6 +225,7 @@ public class WebdavFileObject extends Ht
     /**
      * Deletes the file.
      */
+    @Override
     protected void doDelete() throws Exception
     {
         DavMethod method = new DeleteMethod(urlString((URLFileName) getName()));
@@ -231,6 +236,7 @@ public class WebdavFileObject extends Ht
     /**
      * Rename the file.
      */
+    @Override
     protected void doRename(FileObject newfile) throws Exception
     {
         String url = encodePath(urlString((URLFileName) getName()));
@@ -243,6 +249,7 @@ public class WebdavFileObject extends Ht
     /**
      * Returns the size of the file content (in bytes).
      */
+    @Override
     protected long doGetContentSize() throws Exception
     {
         DavProperty property = getProperty((URLFileName) getName(),
@@ -259,6 +266,7 @@ public class WebdavFileObject extends Ht
      * Returns the last modified time of this file.  Is only called if
      * {@link #doGetType} does not return {@link FileType#IMAGINARY}.
      */
+    @Override
     protected long doGetLastModifiedTime() throws Exception
     {
         DavProperty property = getProperty((URLFileName) getName(),
@@ -274,6 +282,7 @@ public class WebdavFileObject extends Ht
     /**
      * Returns the properties of the Webdav resource.
      */
+    @Override
     protected Map doGetAttributes() throws Exception
     {
         final Map attributes = new HashMap();
@@ -321,6 +330,7 @@ public class WebdavFileObject extends Ht
      * <p/>
      * This implementation throws an exception.
      */
+    @Override
     protected void doSetAttribute(final String attrName, final Object value)
         throws Exception
     {
@@ -358,11 +368,13 @@ public class WebdavFileObject extends Ht
         }
     }
 
+    @Override
     protected OutputStream doGetOutputStream(boolean bAppend) throws Exception
     {
         return new WebdavOutputStream(this);
     }
 
+    @Override
     protected FileContentInfoFactory getFileContentInfoFactory()
     {
         return new WebdavFileContentInfoFactory();
@@ -375,6 +387,7 @@ public class WebdavFileObject extends Ht
      * @throws FileSystemException if an error occurs encoding the uri.
      * @throws URIException        if the URI is in error.
      */
+    @Override
     protected void setupMethod(final HttpMethod method) throws FileSystemException, URIException
     {
         String pathEncoded = ((URLFileName) getName()).getPathQueryEncoded(urlCharset);
@@ -616,6 +629,7 @@ public class WebdavFileObject extends Ht
         /**
          * Called after this stream is closed.
          */
+        @Override
         protected void onClose() throws IOException
         {
             RequestEntity entity = new ByteArrayRequestEntity(((ByteArrayOutputStream) out).toByteArray());

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java Sat Nov  6 11:35:31 2010
@@ -79,6 +79,7 @@ public class WebdavFileProvider
      * to use correct signature of the {@link FileSystemManager} resolveFile method.
      * @see org.apache.commons.vfs.impl.DefaultFileSystemManager#resolveFile(FileObject, String, FileSystemOptions)
      */
+    @Override
     protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions fileSystemOptions)
         throws FileSystemException
     {
@@ -111,12 +112,14 @@ public class WebdavFileProvider
         return new WebdavFileSystem(rootName, httpClient, fsOpts);
     }
 
+    @Override
     public FileSystemConfigBuilder getConfigBuilder()
     {
         return WebdavFileSystemConfigBuilder.getInstance();
     }
 
 
+    @Override
     public Collection getCapabilities()
     {
         return capabilities;

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystem.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystem.java Sat Nov  6 11:35:31 2010
@@ -42,6 +42,7 @@ public class WebdavFileSystem extends Ht
         super(rootName, client, fileSystemOptions);
     }
 
+    @Override
     protected HttpClient getClient()
     {
         return super.getClient();
@@ -51,6 +52,7 @@ public class WebdavFileSystem extends Ht
      * Returns the capabilities of this file system.
      * @caps The Capabilities to add.
      */
+    @Override
     protected void addCapabilities(final Collection caps)
     {
         caps.addAll(WebdavFileProvider.capabilities);
@@ -62,6 +64,7 @@ public class WebdavFileSystem extends Ht
      * @param name the FileName.
      * @return The created FileObject.
      */
+    @Override
     protected FileObject createFile(final FileName name)
     {
 

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystemConfigBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystemConfigBuilder.java?rev=1032009&r1=1032008&r2=1032009&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystemConfigBuilder.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileSystemConfigBuilder.java Sat Nov  6 11:35:31 2010
@@ -82,6 +82,7 @@ public final class WebdavFileSystemConfi
     /**
      * @return The Webdav FileSystem Class object.
      */
+    @Override
     protected Class getConfigClass()
     {
         return WebdavFileSystem.class;



Mime
View raw message