Changeset 10619 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
- Timestamp:
- 2016-07-24T00:19:35+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r10611 r10619 1223 1223 1224 1224 protected void sort() { 1225 Collections.sort(data, 1226 (o1, o2) -> { 1227 if (o1.isEmpty() && o2.isEmpty()) 1228 return 0; 1229 if (o1.isEmpty()) return 1; 1230 if (o2.isEmpty()) return -1; 1231 return o1.compareTo(o2); 1232 }); 1225 data.sort((o1, o2) -> { 1226 if (o1.isEmpty() && o2.isEmpty()) 1227 return 0; 1228 if (o1.isEmpty()) return 1; 1229 if (o2.isEmpty()) return -1; 1230 return o1.compareTo(o2); 1231 }); 1233 1232 } 1234 1233
Note:
See TracChangeset
for help on using the changeset viewer.