Changeset 12433 in josm


Ignore:
Timestamp:
2017-06-25T16:42:41+02:00 (3 months ago)
Author:
Don-vip
Message:

findbugs - IS2_INCONSISTENT_SYNC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/autofilter/AutoFilterManager.java

    r12432 r12433  
    132132    }
    133133
    134     private void addNewButtons(NavigableSet<String> values) {
     134    private synchronized void addNewButtons(NavigableSet<String> values) {
    135135        int i = 0;
    136136        int maxWidth = 16;
     
    263263    }
    264264
    265     private void updateFiltersFull() {
     265    private synchronized void updateFiltersFull() {
    266266        if (currentAutoFilter != null) {
    267267            model.executeFilters();
     
    269269    }
    270270
    271     private void updateFiltersEvent(AbstractDatasetChangedEvent event, boolean affectedOnly) {
     271    private synchronized void updateFiltersEvent(AbstractDatasetChangedEvent event, boolean affectedOnly) {
    272272        if (currentAutoFilter != null) {
    273273            Collection<? extends OsmPrimitive> prims = event.getPrimitives();
     
    363363     * @param g The graphics to draw that text on.
    364364     */
    365     public void drawOSDText(Graphics2D g) {
     365    public synchronized void drawOSDText(Graphics2D g) {
    366366        model.drawOSDText(g, lblOSD,
    367367            tr("<h2>Filter active: {0}</h2>", currentAutoFilter.getFilter().text),
Note: See TracChangeset for help on using the changeset viewer.