Commit 3e02b81e authored by Phillip Webb's avatar Phillip Webb

Merge branch '1.1.x'

parents b947d600 52967017
...@@ -76,7 +76,7 @@ public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> { ...@@ -76,7 +76,7 @@ public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> {
this.negativeMatches = new LinkedMultiValueMap<String, MessageAndCondition>(); this.negativeMatches = new LinkedMultiValueMap<String, MessageAndCondition>();
for (Map.Entry<String, ConditionAndOutcomes> entry : report for (Map.Entry<String, ConditionAndOutcomes> entry : report
.getConditionAndOutcomesBySource().entrySet()) { .getConditionAndOutcomesBySource().entrySet()) {
dunno(entry.getValue().isFullMatch() ? this.positiveMatches add(entry.getValue().isFullMatch() ? this.positiveMatches
: this.negativeMatches, entry.getKey(), entry.getValue()); : this.negativeMatches, entry.getKey(), entry.getValue());
} }
...@@ -85,7 +85,7 @@ public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> { ...@@ -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) { ConditionAndOutcomes conditionAndOutcomes) {
String name = ClassUtils.getShortName(source); String name = ClassUtils.getShortName(source);
for (ConditionAndOutcome conditionAndOutcome : conditionAndOutcomes) { 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