From 4dd05cb4805e630fdf913574d1277d517b618675 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 29 Aug 2011 09:55:25 +0200 Subject: [PATCH] sort gpx to facilitate finding imported gpx (2) --- OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java index 8ffd0d6b77..0e202df13d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java @@ -360,7 +360,7 @@ public class MapActivityLayers { Arrays.sort(files, new Comparator() { @Override public int compare(File object1, File object2) { - if (object1.getName()compareTo(object2.getName()) > 0) { + if (object1.getName().compareTo(object2.getName()) > 0) { return -1; } else if (object1.getName().equals(object2.getName())) { return 0;