From 30a830601f23db50df79c6038506287fddb72340 Mon Sep 17 00:00:00 2001 From: Bars107 Date: Tue, 5 Aug 2014 20:37:16 +0300 Subject: [PATCH] Update OsmBugsLayer.java --- OsmAnd/src/net/osmand/plus/osmedit/OsmBugsLayer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmBugsLayer.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmBugsLayer.java index cf16504849..985b72c0c9 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmBugsLayer.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmBugsLayer.java @@ -109,10 +109,8 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider @Override protected List calculateResult(RotatedTileBox tileBox) { QuadRect bounds = tileBox.getLatLonBounds(); - if (bounds != null){ - return loadingBugs(bounds.top, bounds.left, bounds.bottom, bounds.right); - } - return new ArrayList(); + return loadingBugs(bounds.top, bounds.left, bounds.bottom, bounds.right); + } }; }