Changeset 18063 in josm for trunk/src/org
- Timestamp:
- 2021-07-18T13:05:59+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/ImageData.java
r18050 r18063 129 129 */ 130 130 public List<ImageEntry> getSelectedImages() { 131 return selectedImagesIndex.stream().filter(i -> i > -1 ).map(data::get).collect(Collectors.toList());131 return selectedImagesIndex.stream().filter(i -> i > -1 && i < data.size()).map(data::get).collect(Collectors.toList()); 132 132 } 133 133
Note:
See TracChangeset
for help on using the changeset viewer.