Ignore:
Timestamp:
2015-05-18T02:14:30+02:00 (4 years ago)
Author:
Don-vip
Message:

Sonar - various performance improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/SelectionSynchronizer.java

    r7005 r8390  
    22package org.openstreetmap.josm.gui.history;
    33
    4 import java.util.ArrayList;
    5 import java.util.List;
     4import java.util.HashSet;
     5import java.util.Set;
    66
    77import javax.swing.DefaultListSelectionModel;
     
    1212public class SelectionSynchronizer implements ListSelectionListener {
    1313
    14     private List<ListSelectionModel> participants;
     14    private final Set<ListSelectionModel> participants;
    1515
    1616    /**
     
    1818     */
    1919    public SelectionSynchronizer() {
    20         participants = new ArrayList<>();
     20        participants = new HashSet<>();
    2121    }
    2222
Note: See TracChangeset for help on using the changeset viewer.