[jboss-cvs] JBossAS SVN: r80191 - projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 29 09:20:04 EDT 2008
Author: alesj
Date: 2008-10-29 09:20:04 -0400 (Wed, 29 Oct 2008)
New Revision: 80191
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations/DeploymentUnitClassPath.java
Log:
Move classpath --> path transformation inside if.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations/DeploymentUnitClassPath.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations/DeploymentUnitClassPath.java 2008-10-29 13:19:25 UTC (rev 80190)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations/DeploymentUnitClassPath.java 2008-10-29 13:20:04 UTC (rev 80191)
@@ -70,10 +70,10 @@
if (file != null)
return file;
- String path = ClassLoaderUtils.classNameToPath(className);
List<VirtualFile> classPath = unit.getClassPath();
if (classPath != null && classPath.isEmpty() == false)
{
+ String path = ClassLoaderUtils.classNameToPath(className);
for (VirtualFile cp : classPath)
{
file = cp.getChild(path);
More information about the jboss-cvs-commits
mailing list