[jboss-cvs] JBossAS SVN: r83394 - projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Jan 24 06:09:21 EST 2009
Author: alesj
Date: 2009-01-24 06:09:21 -0500 (Sat, 24 Jan 2009)
New Revision: 83394
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java
Log:
Use if trace check.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java 2009-01-24 10:18:44 UTC (rev 83393)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java 2009-01-24 11:09:21 UTC (rev 83394)
@@ -64,7 +64,9 @@
VirtualFile jbossStructure = file.getChild("META-INF/jboss-structure.xml");
if (jbossStructure != null)
{
- log.trace("... context has a META-INF/jboss-structure.xml");
+ if (trace)
+ log.trace("... context has a META-INF/jboss-structure.xml");
+
URL url = jbossStructure.toURL();
UnmarshallerFactory factory = UnmarshallerFactory.newInstance();
Unmarshaller unmarshaller = factory.newUnmarshaller();
More information about the jboss-cvs-commits
mailing list