commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1541090 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java
Date Tue, 12 Nov 2013 14:44:09 GMT
Author: ggregory
Date: Tue Nov 12 14:44:09 2013
New Revision: 1541090

URL: http://svn.apache.org/r1541090
Log:
Sort in AB order.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java

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=1541090&r1=1541089&r2=1541090&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 Nov 12 14:44:09 2013
@@ -104,16 +104,16 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public void findFiles(final FileSelector selector, final boolean depthwise, final List<FileObject>
selected)
-        throws FileSystemException
+    public FileObject[] findFiles(final FileSelector selector) throws FileSystemException
     {
-        decoratedFileObject.findFiles(selector, depthwise, selected);
+        return decoratedFileObject.findFiles(selector);
     }
 
     @Override
-    public FileObject[] findFiles(final FileSelector selector) throws FileSystemException
+    public void findFiles(final FileSelector selector, final boolean depthwise, final List<FileObject>
selected)
+        throws FileSystemException
     {
-        return decoratedFileObject.findFiles(selector);
+        decoratedFileObject.findFiles(selector, depthwise, selected);
     }
 
     @Override
@@ -134,6 +134,17 @@ public class DecoratedFileObject impleme
         return decoratedFileObject.getContent();
     }
 
+    public FileObject getDecoratedFileObject()
+    {
+        return decoratedFileObject;
+    }
+
+    @Override
+    public FileOperations getFileOperations() throws FileSystemException
+    {
+        return decoratedFileObject.getFileOperations();
+    }
+
     @Override
     public FileSystem getFileSystem()
     {
@@ -165,45 +176,51 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public boolean isExecutable() throws FileSystemException
+    public boolean isAttached()
     {
-        return decoratedFileObject.isExecutable();
+        return decoratedFileObject.isAttached();
     }
 
     @Override
-    public boolean isHidden() throws FileSystemException
+    public boolean isContentOpen()
     {
-        return decoratedFileObject.isHidden();
+        return decoratedFileObject.isContentOpen();
     }
 
     @Override
-    public boolean isReadable() throws FileSystemException
+    public boolean isExecutable() throws FileSystemException
     {
-        return decoratedFileObject.isReadable();
+        return decoratedFileObject.isExecutable();
     }
 
     @Override
-    public boolean setReadable(final boolean readable, final boolean ownerOnly) throws FileSystemException
+    public boolean isFile() throws FileSystemException
     {
-        return decoratedFileObject.setReadable(readable, ownerOnly);
+        return decoratedFileObject.isFile();
     }
 
     @Override
-    public boolean isWriteable() throws FileSystemException
+    public boolean isFolder() throws FileSystemException
     {
-        return decoratedFileObject.isWriteable();
+        return decoratedFileObject.isFolder();
     }
 
     @Override
-    public boolean setWritable(final boolean writable, final boolean ownerOnly) throws FileSystemException
+    public boolean isHidden() throws FileSystemException
     {
-        return decoratedFileObject.setWritable(writable, ownerOnly);
+        return decoratedFileObject.isHidden();
     }
 
     @Override
-    public boolean setExecutable(final boolean executable, final boolean ownerOnly) throws
FileSystemException
+    public boolean isReadable() throws FileSystemException
     {
-        return decoratedFileObject.setExecutable(executable, ownerOnly);
+        return decoratedFileObject.isReadable();
+    }
+
+    @Override
+    public boolean isWriteable() throws FileSystemException
+    {
+        return decoratedFileObject.isWriteable();
     }
 
     @Override
@@ -219,9 +236,9 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException
+    public void refresh() throws FileSystemException
     {
-        return decoratedFileObject.resolveFile(name, scope);
+        decoratedFileObject.refresh();
     }
 
     @Override
@@ -231,38 +248,27 @@ public class DecoratedFileObject impleme
     }
 
     @Override
-    public void refresh() throws FileSystemException
-    {
-        decoratedFileObject.refresh();
-    }
-
-    public FileObject getDecoratedFileObject()
-    {
-        return decoratedFileObject;
-    }
-
-    @Override
-    public boolean isAttached()
+    public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException
     {
-        return decoratedFileObject.isAttached();
+        return decoratedFileObject.resolveFile(name, scope);
     }
 
     @Override
-    public boolean isContentOpen()
+    public boolean setExecutable(final boolean executable, final boolean ownerOnly) throws
FileSystemException
     {
-        return decoratedFileObject.isContentOpen();
+        return decoratedFileObject.setExecutable(executable, ownerOnly);
     }
 
     @Override
-    public boolean isFile() throws FileSystemException
+    public boolean setReadable(final boolean readable, final boolean ownerOnly) throws FileSystemException
     {
-        return decoratedFileObject.isFile();
+        return decoratedFileObject.setReadable(readable, ownerOnly);
     }
 
     @Override
-    public boolean isFolder() throws FileSystemException
+    public boolean setWritable(final boolean writable, final boolean ownerOnly) throws FileSystemException
     {
-        return decoratedFileObject.isFolder();
+        return decoratedFileObject.setWritable(writable, ownerOnly);
     }
 
     @Override
@@ -271,11 +277,5 @@ public class DecoratedFileObject impleme
         return decoratedFileObject.toString();
     }
 
-    @Override
-    public FileOperations getFileOperations() throws FileSystemException
-    {
-        return decoratedFileObject.getFileOperations();
-    }
-
 
 }



Mime
View raw message