Fix compilation

This commit is contained in:
Chumva 2019-07-08 09:53:12 +03:00
parent 4d91f9b451
commit 90e8a16ad8

View file

@ -254,7 +254,7 @@ public class RouteStatisticsHelper {
} }
Map<String, RouteSegmentAttribute> makePartition(List<RouteSegmentAttribute> routeAttributes) { Map<String, RouteSegmentAttribute> makePartition(List<RouteSegmentAttribute> routeAttributes) {
Map<String, RouteSegmentAttribute> partition = new TreeMap<>(); final Map<String, RouteSegmentAttribute> partition = new TreeMap<>();
for (RouteSegmentAttribute attribute : routeAttributes) { for (RouteSegmentAttribute attribute : routeAttributes) {
RouteSegmentAttribute attr = partition.get(attribute.propertyName); RouteSegmentAttribute attr = partition.get(attribute.propertyName);
if (attr == null) { if (attr == null) {