Commit 52967017 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 142c183b
......@@ -76,7 +76,7 @@ public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> {
this.negativeMatches = new LinkedMultiValueMap<String, MessageAndCondition>();
for (Map.Entry<String, ConditionAndOutcomes> entry : report
.getConditionAndOutcomesBySource().entrySet()) {
dunno(entry.getValue().isFullMatch() ? this.positiveMatches
add(entry.getValue().isFullMatch() ? this.positiveMatches
: this.negativeMatches, entry.getKey(), entry.getValue());
}
......@@ -85,7 +85,7 @@ public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> {
}
}
private void dunno(MultiValueMap<String, MessageAndCondition> map, String source,
private void add(MultiValueMap<String, MessageAndCondition> map, String source,
ConditionAndOutcomes conditionAndOutcomes) {
String name = ClassUtils.getShortName(source);
for (ConditionAndOutcome conditionAndOutcome : conditionAndOutcomes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment