Skip to content

Commit d2576be

Browse files
committed
change to linked hash map
1 parent 4f80f66 commit d2576be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/VehicleRoutingProblem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ private VehicleRoutingProblem(Builder builder) {
578578
this.activityMap = builder.activityMap;
579579
this.nuActivities = builder.activityIndexCounter;
580580
this.allLocations = builder.allLocations;
581-
this.allJobs = new HashMap<>(jobs);
581+
this.allJobs = new LinkedHashMap<>(jobs);
582582
this.allJobs.putAll(builder.jobsInInitialRoutes);
583583
logger.info("setup problem: {}", this);
584584
}

0 commit comments

Comments
 (0)