Merge pull request #7085 from osmandapp/Fix_6930

Fix #6930
This commit is contained in:
Alexey 2019-06-24 13:01:34 +03:00 committed by GitHub
commit 10ac90a4a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,11 @@ public class RouteStatistics {
@Override
public String getPropertyName(String attribute) {
return attribute;
if (attribute.equals(UNDEFINED_ATTR)) {
return UNDEFINED_ATTR;
} else {
return SURFACE_ATTR + "_" + attribute;
}
}
@Override
@ -222,7 +226,11 @@ public class RouteStatistics {
@Override
public String getPropertyName(String attribute) {
return attribute;
if (attribute.equals(UNDEFINED_ATTR)) {
return UNDEFINED_ATTR;
} else {
return SMOOTHNESS_ATTR + "_" + attribute;
}
}
@Override