Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
alx652 committed Mar 14, 2024
1 parent 08adffe commit bb91455
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ public List<EntityProcessorConfig> getEntityProcessors() {
map.get(k).setKey(k);
}
List<EntityProcessorConfig> configs = map.values().stream().collect(Collectors.toList());
System.out.println("Entity processor configurations found before filtering: " + configs.size());
System.out.println(reportTag + " found before filtering: " + configs.size());
configs = configs.stream().filter(c->!c.isDisabled()).sorted(Comparator.comparing(c->c.getOrder(),nullsFirst(naturalOrder()))).collect(Collectors.toList());
System.out.println("Entity processor configurations active after filtering: " + configs.size());
System.out.println(String.format("%s|%s|%s|%s", "EntityProcessor", "class", "key", "order", "isDisabled"));
System.out.println(reportTag + " active after filtering: " + configs.size());
System.out.println(String.format("%s|%s|%s|%s", reportTag, "class", "key", "order", "isDisabled"));
for (EntityProcessorConfig config : configs) {
System.out.println(String.format("%s|%s|%s|%s", "EntityProcessor", config.getProcessor(), config.getKey(), config.getOrder(), config.isDisabled()));
System.out.println(String.format("%s|%s|%s|%s", reportTag, config.getProcessor(), config.getKey(), config.getOrder(), config.isDisabled()));
}
return configs;
}
Expand Down

0 comments on commit bb91455

Please sign in to comment.