Polish
Closes gh-15987
This commit is contained in:
committed by
Stephane Nicoll
parent
ddfdc48161
commit
55f5f2f910
@@ -58,16 +58,14 @@ class ConditionEvaluationDeltaLoggingListener
|
||||
if (!delta.getConditionAndOutcomesBySource().isEmpty()
|
||||
|| !delta.getExclusions().isEmpty()
|
||||
|| !delta.getUnconditionalClasses().isEmpty()) {
|
||||
if (ConditionEvaluationDeltaLoggingListener.logger.isInfoEnabled()) {
|
||||
ConditionEvaluationDeltaLoggingListener.logger
|
||||
.info("Condition evaluation delta:"
|
||||
+ new ConditionEvaluationReportMessage(delta,
|
||||
"CONDITION EVALUATION DELTA"));
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("Condition evaluation delta:"
|
||||
+ new ConditionEvaluationReportMessage(delta,
|
||||
"CONDITION EVALUATION DELTA"));
|
||||
}
|
||||
}
|
||||
else {
|
||||
ConditionEvaluationDeltaLoggingListener.logger
|
||||
.info("Condition evaluation unchanged");
|
||||
logger.info("Condition evaluation unchanged");
|
||||
}
|
||||
}
|
||||
previousReports.put(event.getApplicationContext().getId(), report);
|
||||
|
||||
Reference in New Issue
Block a user