fix build

This commit is contained in:
sonora 2012-01-14 13:37:24 +01:00
parent 8ce21bd49d
commit 6d97411c42

View file

@ -203,10 +203,10 @@ public class FavouritesActivity extends ExpandableListActivity {
// double d1 = MapUtils.getDistance(mapLocation, object1.getLatitude(), object1.getLongitude());
// double d2 = MapUtils.getDistance(mapLocation, object2.getLatitude(), object2.getLongitude());
// if(d1 == d2){
if(object1 == object2){
if(object1.getString == object2.getString){
return 0;
// } else if(d1 > d2){
} else if(object1 > object2){
} else if(object1.getString > object2.getString){
return 1;
}
return -1;