Ignore:
Timestamp:
2010-02-07T22:54:58+01:00 (10 years ago)
Author:
jttt
Message:

Show only one message box in conflicts dialog when multiple members are deleted, use clone method for copyAll method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java

    r2915 r2949  
    3434 */
    3535public class ConflictCollection implements Iterable<Conflict<?>>{
    36     private ArrayList<Conflict<?>> conflicts;
     36    private final List<Conflict<?>> conflicts;
    3737    private CopyOnWriteArrayList<IConflictListener> listeners;
    3838
     
    313313        return size() == 0;
    314314    }
     315
     316    @Override
     317    public String toString() {
     318        return conflicts.toString();
     319    }
    315320}
Note: See TracChangeset for help on using the changeset viewer.