Polish
This commit is contained in:
parent
142c183b11
commit
52967017a0
|
|
@ -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> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue