1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

unnecessary @SuppressWarnings removed

This commit is contained in:
Michal Maciejewski 2017-11-06 00:02:02 +01:00
parent 6907a894fb
commit e3acb05b0a
No known key found for this signature in database
GPG key ID: 015947E60A2AD77B

View file

@ -447,7 +447,6 @@ public class VehicleRoutingProblem {
return new VehicleRoutingProblem(this);
}
@SuppressWarnings("UnusedDeclaration")
public Builder addLocation(String locationId, Coordinate coordinate) {
tentative_coordinates.put(locationId, coordinate);
return this;
@ -473,7 +472,6 @@ public class VehicleRoutingProblem {
* @param vehicles vehicles to be added
* @return this builder
*/
@SuppressWarnings("deprecation")
public Builder addAllVehicles(Collection<? extends Vehicle> vehicles) {
for (Vehicle v : vehicles) {
addVehicle(v);