Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.5.1
-
Fix Version/s: Release 1.5.2, Release 1.6
-
Component/s: ActionBean Dispatching
-
Labels:None
Description
Hi,
This snippet here, line 146 .. this runs all the way through and is effectively a noop and wasted cycles if debug is not on. That whole block should be surround with is debug enabled, but the log class doesn't have such a method.
// Print out the event mappings nicely
for (Map.Entry<String, Method> entry : classMappings.entrySet()) {
String event = entry.getKey();
Method handler = entry.getValue();
boolean isDefault = DEFAULT_HANDLER_KEY.equals(event);
log.debug("Bound: ", clazz.getSimpleName(), ".", handler.getName(), "() ==> ",
binding, isDefault ? "" : "?" + event);
}
Fixed in revision 1144.