Author: richard.opalka(a)jboss.com
Date: 2008-02-22 04:41:03 -0500 (Fri, 22 Feb 2008)
New Revision: 5766
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ArchiveDeploymentImpl.java
Log:
removing commented code
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ArchiveDeploymentImpl.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ArchiveDeploymentImpl.java 2008-02-22
09:38:27 UTC (rev 5765)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ArchiveDeploymentImpl.java 2008-02-22
09:41:03 UTC (rev 5766)
@@ -99,26 +99,8 @@
UnifiedVirtualFile vfResource = getRootFile().findChild(resourcePath);
resourceURL = vfResource.toURL();
}
-
- /*
- if (resourceURL == null)
- {
- String deploymentPath = getUrl().toExternalForm();
-
- if (deploymentPath.startsWith("jar:") &&
deploymentPath.endsWith("!/") == false)
- deploymentPath += "!/";
-
- if (deploymentPath.startsWith("war:") &&
deploymentPath.endsWith("!/") == false)
- deploymentPath += "!/";
-
- if (deploymentPath.endsWith("/") == false)
- deploymentPath += "/";
-
- // assign a relative URL
- resourceURL = new URL(deploymentPath + resourcePath);
- }
- */
}
+
return resourceURL;
}
}