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

remove redundant unmodifiableList() wrapping

This commit is contained in:
Michal Maciejewski 2018-11-10 12:26:24 +01:00
parent cf179b2f07
commit 3579dca52d
No known key found for this signature in database
GPG key ID: 015947E60A2AD77B

View file

@ -367,7 +367,7 @@ public class VehicleRoute {
* @return list of tourActivities
*/
public List<TourActivity> getActivities() {
return Collections.unmodifiableList(tourActivities.getActivities());
return tourActivities.getActivities();
}
/**