Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
None
-
None
-
None
Description
Instead of doing:
if (LOGGER.isWarnEnabled()) {
|
LOGGER.warn(format("Exception thrown raising server opening event to listener %s", cur), e);
|
}
|
Follow the org.slf4j pattern in the code of:
void warn(String var1, Object... var2);
|
So then you could do:
LOGGER.warn("Exception thrown raising server opening event to listener {}", cur, e);
|