Changeset 31883 in osm for applications/editors/josm/plugins/mapillary/src
- Timestamp:
- 2015-12-28T14:23:08+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryData.java
r31882 r31883 47 47 */ 48 48 protected MapillaryData() { 49 this.images = new ConcurrentSkipListSet<>();50 this.multiSelectedImages = new ConcurrentSkipListSet<>();49 this.images = Collections.newSetFromMap(new ConcurrentHashMap<MapillaryAbstractImage, Boolean>()); 50 this.multiSelectedImages = Collections.newSetFromMap(new ConcurrentHashMap<MapillaryAbstractImage, Boolean>()); 51 51 this.selectedImage = null; 52 52 … … 383 383 */ 384 384 public synchronized void setImages(Set<MapillaryAbstractImage> images) { 385 this.images = new ConcurrentSkipListSet<>(images); 385 this.images.clear(); 386 this.images.addAll(images); 386 387 } 387 388
Note:
See TracChangeset
for help on using the changeset viewer.