From 21d0a8b578f21a53b1341b85b47ef1f17f32dc09 Mon Sep 17 00:00:00 2001 From: jsprit Date: Fri, 27 Dec 2013 22:56:43 +0100 Subject: [PATCH] Update VehicleRoutingProblem.java --- .../java/jsprit/core/problem/VehicleRoutingProblem.java | 7 +++++++ 1 file changed, 7 insertions(+) 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()); }