fix build
This commit is contained in:
parent
f48e19636d
commit
8ce21bd49d
1 changed files with 2 additions and 2 deletions
|
@ -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.getName == object2.getName){
|
||||
if(object1 == object2){
|
||||
return 0;
|
||||
// } else if(d1 > d2){
|
||||
} else if(object1.getName > object1.getName){
|
||||
} else if(object1 > object2){
|
||||
return 1;
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue