Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052) This completes r1818075, there were still few cases, a last regexp search is never too much :) Found 4 other loops with Strings concatenation, but who cares, it's only verbose logging... There should not be anymore... git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -86,7 +86,7 @@ public class GroovyUtil {
|
||||
}
|
||||
if (Debug.verboseOn()) {
|
||||
Debug.logVerbose("Evaluating -- " + expression, module);
|
||||
if (Debug.verboseOn()) Debug.logVerbose("Using Context -- " + context, module);
|
||||
Debug.logVerbose("Using Context -- " + context, module);
|
||||
}
|
||||
try {
|
||||
GroovyShell shell = new GroovyShell(getBinding(context, expression));
|
||||
|
||||
Reference in New Issue
Block a user