[jboss-cvs] JBossAS SVN: r74136 - projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/structure.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 5 07:14:10 EDT 2008


Author: alesj
Date: 2008-06-05 07:14:10 -0400 (Thu, 05 Jun 2008)
New Revision: 74136

Modified:
   projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/structure/AbstractVFSDeploymentContext.java
Log:
Fix log messages.

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/structure/AbstractVFSDeploymentContext.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/structure/AbstractVFSDeploymentContext.java	2008-06-05 11:05:53 UTC (rev 74135)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/structure/AbstractVFSDeploymentContext.java	2008-06-05 11:14:10 UTC (rev 74136)
@@ -27,6 +27,7 @@
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
+import java.util.Arrays;
 
 import org.jboss.deployers.structure.spi.DeploymentUnit;
 import org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext;
@@ -256,7 +257,7 @@
             if (result != null && result.isEmpty() == false)
             {
                if (log.isTraceEnabled())
-                  log.trace("Found " + name + " in " + location.getName());
+                  log.trace("Found name=" + name + ", suffix=" + suffix + " in " + location.getName());
                results.addAll(result);
                deployed();
             }
@@ -318,7 +319,7 @@
       {
          VirtualFile file = files[i];
          if (file == null)
-            throw new IllegalArgumentException("Null virtual file in " + files);
+            throw new IllegalArgumentException("Null virtual file in " + Arrays.toString(files));
          classPath.add(0, file);
       }
       setClassPath(classPath);
@@ -355,7 +356,7 @@
       for (VirtualFile file : files)
       {
          if (file == null)
-            throw new IllegalArgumentException("Null virtual file in " + files);
+            throw new IllegalArgumentException("Null virtual file in " + Arrays.toString(files));
          classPath.add(file);
       }
       setClassPath(classPath);




More information about the jboss-cvs-commits mailing list