Changeset 13326 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-01-15T01:35:32+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r13322 r13326 415 415 || (newValue != null && oldValue != null && !Objects.equals(newValue.toCode(), oldValue.toCode()))) { 416 416 listeners.removeIf(x -> x.get() == null); 417 listeners. forEach(x -> x.get().projectionChanged(oldValue, newValue));417 listeners.stream().map(WeakReference::get).filter(Objects::nonNull).forEach(x -> x.projectionChanged(oldValue, newValue)); 418 418 if (newValue != null && oldBounds != null && main != null) { 419 419 main.restoreOldBounds(oldBounds);
Note:
See TracChangeset
for help on using the changeset viewer.