sort gpx to facilitate finding imported gpx (2)
This commit is contained in:
parent
ccabfe8c17
commit
4dd05cb480
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ public class MapActivityLayers {
|
|||
Arrays.sort(files, new Comparator<File>() {
|
||||
@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;
|
||||
|
|
Loading…
Reference in a new issue