[EMAIL PROTECTED] wrote:

amyroh      2004/09/20 10:51:28

Modified: jasper2/src/share/org/apache/jasper/compiler SmapUtil.java
Log:
Remove verbose.
- if (verbose) {
- if (log.isDebugEnabled())
- log.debug("constant pool count: " + constantPoolCount);
- }
+ log("constant pool count: " + constantPoolCount);


You need to keep if (log.isDebugEnabled()), otherwise, zillions of Strings will be created for no reason (as the parameter of your method will have to be created).

Rémy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to