[jboss-cvs] JBossAS SVN: r102216 - projects/jboss-osgi/projects/runtime/framework/trunk/core/src/main/java/org/jboss/osgi/framework/bundle.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 10 02:14:36 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-03-10 02:14:35 -0500 (Wed, 10 Mar 2010)
New Revision: 102216

Modified:
   projects/jboss-osgi/projects/runtime/framework/trunk/core/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java
Log:
Use getRoot() instead of getChild()

Modified: projects/jboss-osgi/projects/runtime/framework/trunk/core/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java
===================================================================
--- projects/jboss-osgi/projects/runtime/framework/trunk/core/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java	2010-03-10 06:37:55 UTC (rev 102215)
+++ projects/jboss-osgi/projects/runtime/framework/trunk/core/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java	2010-03-10 07:14:35 UTC (rev 102216)
@@ -450,7 +450,7 @@
       VirtualFile root;
       try
       {
-         root = AbstractVFS.getChild(locationURL);
+         root = AbstractVFS.getRoot(locationURL);
       }
       catch (IOException e)
       {
@@ -682,7 +682,7 @@
       try
       {
          URL storageLocation = getBundleStorageLocation(in);
-         VirtualFile root = AbstractVFS.getChild(storageLocation);
+         VirtualFile root = AbstractVFS.getRoot(storageLocation);
 
          BundleInfo info = BundleInfo.createBundleInfo(root, location);
          Deployment dep = DeploymentFactory.createDeployment(info);




More information about the jboss-cvs-commits mailing list