Changeset 18211 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/CodeProjectionChoice.java
- Timestamp:
- 2021-09-12T02:10:25+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/CodeProjectionChoice.java
r13544 r18211 16 16 import org.openstreetmap.josm.data.projection.Projection; 17 17 import org.openstreetmap.josm.data.projection.Projections; 18 import org.openstreetmap.josm.tools.Utils; 18 19 19 20 /** … … 78 79 @Override 79 80 public void setPreferences(Collection<String> args) { 80 if ( args != null && !args.isEmpty()) {81 if (!Utils.isEmpty(args)) { 81 82 code = args.iterator().next(); 82 83 }
Note:
See TracChangeset
for help on using the changeset viewer.