Commit 026b0341 authored by Marion Goedel's avatar Marion Goedel
Browse files

Added TargetChanger ids to

parent 9ba99d1f
Pipeline #264996 canceled with stages
in 92 minutes and 7 seconds
......@@ -17,6 +17,8 @@ public class UnusedTargetsCheck extends AbstractScenarioCheck implements Topogra
Set<Integer> usedTargetIds = new HashSet<>();
.forEach(s -> usedTargetIds.addAll(s.getAttributes().getTargetIds()));
.forEach(s -> usedTargetIds.addAll(s.getAttributes().getNextTarget()));
topography.getTargets().forEach(t -> {
if (!usedTargetIds.contains(t.getId())) {
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