Details
-
Type:
Task
-
Status: Code Review (Post-Commit)
-
Priority:
Could
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Core 2.5.0
-
Component/s: Checkstyle
-
Labels:
Description
Replace use of conditionals
if(log.isDebugEnabled()) { log.debug("Entry number: " + i + " is " + String.valueOf(entry[i])); }
which are aimed at preventing to construct the debug message with slf4js parametrized messages
log.debug("The entry is {}.", entry);
and also
log.debug("The entry is " + entry);