Ignore:
Timestamp:
2010-10-31T01:21:17+02:00 (14 years ago)
Author:
oliverw
Message:

Bugfix: Concurrent mod exception when opening the dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java

    r23944 r23947  
    9797         */
    9898        protected void fireContainerChanged() {
    99                 for (IAddressEditContainerListener listener : listeners) {
     99                List<IAddressEditContainerListener> shadowListeners =
     100                        new ArrayList<IAddressEditContainerListener>(listeners);
     101               
     102                for (IAddressEditContainerListener listener : shadowListeners) {
    100103                        listener.containerChanged(this);
    101104                }
Note: See TracChangeset for help on using the changeset viewer.