You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/09/26 21:10:52 UTC

[commons-vfs] branch master updated: Sort members.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 00ea88b  Sort members.
00ea88b is described below

commit 00ea88bacb50e5934e9eaa2c6fe936ec784718e6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Sep 26 17:10:48 2020 -0400

    Sort members.
---
 .../main/java/org/apache/commons/vfs2/FileObject.java    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
index d4c6183..c5feba8 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
@@ -292,14 +292,6 @@ public interface FileObject extends Comparable<FileObject>, Iterable<FileObject>
     FileType getType() throws FileSystemException;
 
     /**
-     * Returns a URL representing this file.
-     *
-     * @return the URL for the file.
-     * @throws FileSystemException if an error occurs.
-     */
-    URL getURL() throws FileSystemException;
-
-    /**
      * Returns a URI representing this file.
      *
      * @return the URI for the file.
@@ -310,6 +302,14 @@ public interface FileObject extends Comparable<FileObject>, Iterable<FileObject>
     }
 
     /**
+     * Returns a URL representing this file.
+     *
+     * @return the URL for the file.
+     * @throws FileSystemException if an error occurs.
+     */
+    URL getURL() throws FileSystemException;
+
+    /**
      * Checks if the fileObject is attached.
      *
      * @return true if the FileObject is attached.