Changeset 10228 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionItemPriority.java
- Timestamp:
- 2016-05-16T14:59:34+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionItemPriority.java
r10137 r10228 117 117 return ui; 118 118 119 int sel = Boolean. valueOf(selected).compareTo(other.selected);119 int sel = Boolean.compare(selected, other.selected); 120 120 if (sel != 0) 121 121 return sel; 122 122 123 int ds = Boolean. valueOf(inDataSet).compareTo(other.inDataSet);123 int ds = Boolean.compare(inDataSet, other.inDataSet); 124 124 if (ds != 0) 125 125 return ds; 126 126 127 int std = Boolean. valueOf(inStandard).compareTo(other.inStandard);127 int std = Boolean.compare(inStandard, other.inStandard); 128 128 if (std != 0) 129 129 return std;
Note:
See TracChangeset
for help on using the changeset viewer.