Changeset 18030 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r18028 r18030 362 362 */ 363 363 public static Projection getProjectionByCode(String code) { 364 return projectionsByCodeCache.computeIfAbsent(code, Projections::computeProjectionByCode); 364 return code != null ? projectionsByCodeCache.computeIfAbsent(code, Projections::computeProjectionByCode) : null; 365 365 } 366 366
Note:
See TracChangeset
for help on using the changeset viewer.