removed unnecessary changes

This commit is contained in:
Chumva 2019-03-16 00:18:36 +02:00
parent 4259dea0fe
commit 83e02f1dc6

View file

@ -3,7 +3,6 @@ package net.osmand.router;
import net.osmand.render.RenderingRuleSearchRequest; import net.osmand.render.RenderingRuleSearchRequest;
import net.osmand.render.RenderingRulesStorage; import net.osmand.render.RenderingRulesStorage;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -368,8 +367,7 @@ public class RouteStatistics {
StringBuilder range = new StringBuilder(); StringBuilder range = new StringBuilder();
if (lowerBoundary >= Boundaries.MIN_DIVIDED_INCLINE) { if (lowerBoundary >= Boundaries.MIN_DIVIDED_INCLINE) {
lowerBoundary++; lowerBoundary++;
} } else {
if (lowerBoundary < Boundaries.MIN_DIVIDED_INCLINE) {
lowerBoundary = Boundaries.MIN_INCLINE; lowerBoundary = Boundaries.MIN_INCLINE;
} }
if (upperBoundary > Boundaries.MAX_DIVIDED_INCLINE) { if (upperBoundary > Boundaries.MAX_DIVIDED_INCLINE) {