diff --git a/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java b/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java index 76ead632c9..bfad41e678 100644 --- a/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java +++ b/OsmAnd-java/src/main/java/net/osmand/map/OsmandRegions.java @@ -333,8 +333,8 @@ public class OsmandRegions { private synchronized List queryBboxNoInit(int lx, int rx, int ty, int by) throws IOException { final List result = new ArrayList(); - int mx = lx / 2 + rx / 2; - int my = ty / 2 + by / 2; + final int mx = lx / 2 + rx / 2; + final int my = ty / 2 + by / 2; BinaryMapIndexReader.SearchRequest sr = BinaryMapIndexReader.buildSearchRequest(lx, rx, ty, by, 5, new BinaryMapIndexReader.SearchFilter() { @Override