Changeset 8404 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferencesModel.java
- Timestamp:
- 2015-05-21T01:18:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferencesModel.java
r8377 r8404 11 11 import java.util.LinkedList; 12 12 import java.util.List; 13 import java.util.Locale; 13 14 import java.util.Map; 14 15 import java.util.Map.Entry; … … 155 156 @Override 156 157 public int compare(PluginInformation o1, PluginInformation o2) { 157 String n1 = o1.getName() == null ? "" : o1.getName().toLowerCase( );158 String n2 = o2.getName() == null ? "" : o2.getName().toLowerCase( );158 String n1 = o1.getName() == null ? "" : o1.getName().toLowerCase(Locale.ENGLISH); 159 String n2 = o2.getName() == null ? "" : o2.getName().toLowerCase(Locale.ENGLISH); 159 160 return n1.compareTo(n2); 160 161 }
Note:
See TracChangeset
for help on using the changeset viewer.