Changeset 17282 in josm


Ignore:
Timestamp:
2020-10-29T15:38:32+01:00 (5 weeks ago)
Author:
GerdP
Message:

see #20005: DataIntegrityProblemException: Deleted member referenced undoing conflict resolutions
partly revert r17226: Don't use Utils.toUnmodifiableMap()

It seems this can lead to a change in the order of objects returned when iterating over the clonemap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r17226 r17282  
    2020import org.openstreetmap.josm.data.osm.visitor.OsmPrimitiveVisitor;
    2121import org.openstreetmap.josm.tools.CheckParameterUtil;
    22 import org.openstreetmap.josm.tools.Utils;
    2322
    2423/**
     
    155154            osm.accept(visitor);
    156155        }
    157         cloneMap = Utils.toUnmodifiableMap(visitor.orig);
     156        cloneMap = visitor.orig;
    158157        return true;
    159158    }
Note: See TracChangeset for help on using the changeset viewer.