[jboss-cvs] JBossAS SVN: r80793 - projects/vfs/trunk/src/main/java/org/jboss/virtual.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 11 06:47:15 EST 2008


Author: alesj
Date: 2008-11-11 06:47:15 -0500 (Tue, 11 Nov 2008)
New Revision: 80793

Modified:
   projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java
Log:
Move realURL code to the end.

Modified: projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java
===================================================================
--- projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java	2008-11-11 11:45:41 UTC (rev 80792)
+++ projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java	2008-11-11 11:47:15 UTC (rev 80793)
@@ -159,22 +159,6 @@
    }
 
    /**
-    * Get real url.
-    * The closest thing that doesn't need the vfs url handlers.
-    *
-    * @param file the virtual file
-    * @return real url
-    * @throws IOException for any error
-    * @throws URISyntaxException for any uri syntac error
-    */
-   public static URL getRealURL(VirtualFile file) throws IOException, URISyntaxException
-   {
-      VirtualFileHandler handler = file.getHandler();
-      // TODO - JBVFS-77
-      return handler.toVfsUrl();
-   }
-
-   /**
     * Add manifest paths
     *
     * @param file the file
@@ -1049,4 +1033,20 @@
          return new URI(string);
       }
    };
+
+   /**
+    * Get real url.
+    * The closest thing that doesn't need the vfs url handlers.
+    *
+    * @param file the virtual file
+    * @return real url
+    * @throws IOException for any error
+    * @throws URISyntaxException for any uri syntac error
+    */
+   public static URL getRealURL(VirtualFile file) throws IOException, URISyntaxException
+   {
+      VirtualFileHandler handler = file.getHandler();
+      // TODO - JBVFS-77
+      return handler.toVfsUrl();
+   }
 }




More information about the jboss-cvs-commits mailing list