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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 3 03:37:56 EST 2009


Author: alesj
Date: 2009-02-03 03:37:56 -0500 (Tue, 03 Feb 2009)
New Revision: 83802

Modified:
   projects/vfs/trunk/src/main/java/org/jboss/virtual/VFS.java
Log:
javadocs
Remove deprecated methods.

Modified: projects/vfs/trunk/src/main/java/org/jboss/virtual/VFS.java
===================================================================
--- projects/vfs/trunk/src/main/java/org/jboss/virtual/VFS.java	2009-02-03 08:01:45 UTC (rev 83801)
+++ projects/vfs/trunk/src/main/java/org/jboss/virtual/VFS.java	2009-02-03 08:37:56 UTC (rev 83802)
@@ -153,6 +153,7 @@
       VFSContextFactory factory = VFSContextFactoryLocator.getFactory(rootURI);
       if (factory == null)
          throw new IOException("No context factory for " + rootURI);
+
       VFSContext context = factory.getVFS(rootURI);
       VFSRegistry.getInstance().addContext(context);
       return context.getVFS();
@@ -216,6 +217,7 @@
       VFSContextFactory factory = VFSContextFactoryLocator.getFactory(rootURL);
       if (factory == null)
          throw new IOException("No context factory for " + rootURL);
+
       VFSContext context = factory.getVFS(rootURL);
       VFSRegistry.getInstance().addContext(context);
       return context.getVFS();
@@ -319,22 +321,6 @@
       VirtualFileHandler result = context.getChild(handler, VFSUtils.fixName(path));
       return result != null ? result.getVirtualFile() : null;
    }
-
-   /**
-    * Find a child from the root
-    * 
-    * @deprecated use {@link #findChild(String)}
-    * @param path the child path
-    * @return the child
-    * @throws IOException for any problem accessing the VFS (including the child does not exist)
-    * @throws IllegalArgumentException if the path is null
-    */
-   @Deprecated
-   @SuppressWarnings("deprecation")
-   public VirtualFile findChildFromRoot(String path) throws IOException
-   {
-      return findChild(path);
-   }
    
    /**
     * Get the children




More information about the jboss-cvs-commits mailing list