Changeset 8128 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2015-03-09T00:02:34+01:00 (9 years ago)
Author:
Don-vip
Message:

fix Sonar issue squid:S2446 - "notifyAll" should be used

File:
1 edited

Legend:

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

    r7862 r8128  
    661661                        mouseState.mousePos = ((MouseEvent)event).getPoint();
    662662                    }
    663                     collector.notify();
     663                    collector.notifyAll();
    664664                }
    665665            }
     
    673673                mouseState.modifiers = e.getModifiersEx();
    674674                mouseState.mousePos = e.getPoint();
    675                 collector.notify();
     675                collector.notifyAll();
    676676            }
    677677        }
     
    687687            synchronized (collector) {
    688688                mouseState.modifiers = e.getModifiersEx();
    689                 collector.notify();
     689                collector.notifyAll();
    690690            }
    691691        }
Note: See TracChangeset for help on using the changeset viewer.