diff --git a/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java b/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java index 3fbb9631..0f20b7eb 100644 --- a/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java +++ b/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java @@ -343,11 +343,18 @@ public class VehicleRoutingProblem { * Gets an unmodifiable collection of already added services. * * @return collection of services + * @deprecated use .getAddedJobs() instead */ + @Deprecated public Collection getAddedServices(){ return Collections.unmodifiableCollection(services); } + /** + * Returns an unmodifiable collection of already added jobs. + * + * @return collection of jobs + */ public Collection getAddedJobs(){ return Collections.unmodifiableCollection(jobs.values()); }