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 62fcb9ac..b10a855c 100644 --- a/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java +++ b/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java @@ -219,7 +219,7 @@ public class VehicleRoutingProblem { * * @param job * @return - * @throws IllegalStateException if job is neither a shipment or a service, or jobId has already been added. + * @throws IllegalStateException if job is neither a shipment nor a service, or jobId has already been added. */ public Builder addJob(Job job) { if(jobs.containsKey(job.getId())) throw new IllegalStateException("jobList already contains a job with id " + job.getId() + ". make sure you use unique ids for your jobs (i.e. service and shipments)");