Author: darran.lofthouse(a)jboss.com
Date: 2009-09-30 11:40:51 -0400 (Wed, 30 Sep 2009)
New Revision: 10810
Modified:
stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
Log:
Check TRACE logging is enabled to avoid large String creation.
Modified:
stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java 2009-09-30
15:38:15 UTC (rev 10809)
+++
stack/native/branches/dlofthouse/JBWS-2777/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java 2009-09-30
15:40:51 UTC (rev 10810)
@@ -412,7 +412,8 @@
}
}
- log.trace("END processTypes: " + wsdlLoc + "\n" + destTypes);
+ if (log.isTraceEnabled())
+ log.trace("END processTypes: " + wsdlLoc + "\n" +
destTypes);
}
private void copyParentNamespaceDeclarations(Element destElement, Element srcElement)