From f47b668b937de825e578e33fd8995e15feb4def0 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 15 Jan 2012 13:01:44 +0100 Subject: [PATCH] fix build --- OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java index 35195abdba..9ac63dcb3c 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java @@ -200,7 +200,7 @@ public class FavouritesActivity extends ExpandableListActivity { @Override public int compare(FavouritePoint object1, FavouritePoint object2) { - return object1.getName(object1).compareTo(object2.getName(object2)); + return object1.getName().compareTo(object2.getName()); } });