Changeset 16438 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMFranceDOMProjectionChoice.java
- Timestamp:
- 2020-05-17T14:18:22+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMFranceDOMProjectionChoice.java
r12620 r16438 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.util.Arrays; 6 7 import java.util.Collection; 7 8 import java.util.Collections; … … 64 65 @Override 65 66 public String[] allCodes() { 66 String[] res = new String[UTM_EPSGS.length]; 67 for (int i = 0; i < UTM_EPSGS.length; ++i) { 68 res[i] = "EPSG:" + UTM_EPSGS[i]; 69 } 70 return res; 67 return Arrays.stream(UTM_EPSGS).map(utmEpsg -> "EPSG:" + utmEpsg).toArray(String[]::new); 71 68 } 72 69
Note:
See TracChangeset
for help on using the changeset viewer.