- Timestamp:
- 2024-07-08T15:33:06+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java
r18989 r19131 2 2 package org.openstreetmap.josm.data.imagery; 3 3 4 import static java.util.function.Predicate.not; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 168 169 Collection<ImageryInfo> result = reader.parse(); 169 170 // See #23485 (remove invalid source entries) 170 result.removeIf(info -> !info.isValid()); 171 result.stream().filter(not(ImageryInfo::isValid)).forEach(info -> Logging.error("Not adding invalid imagery: {0}", info)); 172 result.removeIf(not(ImageryInfo::isValid)); 171 173 newLayers.addAll(result); 172 174 } catch (IOException ex) {
Note:
See TracChangeset
for help on using the changeset viewer.