- final List<String> pathToDeviation = new ArrayList<String>(parentPath);
- pathToDeviation.add(targetPath);
- final DeviationBuilder builder = new DeviationBuilder(targetPath, line);
- addedDeviations.put(pathToDeviation, builder);
+ final DeviationBuilder builder = new DeviationBuilder(line, targetPath);
+ addedDeviations.add(builder);