Ignore:
Timestamp:
2015-03-08T23:39:57+01:00 (11 years ago)
Author:
Don-vip
Message:

fix Sonar issue squid:S2444 - Lazy initialization of "static" fields should be "synchronized"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/MultikeyActionsHandler.java

    r7937 r8126  
    124124     * @return The unique instance of this class
    125125     */
    126     public static MultikeyActionsHandler getInstance() {
     126    public static synchronized MultikeyActionsHandler getInstance() {
    127127        if (instance == null) {
    128128            instance = new MultikeyActionsHandler();
Note: See TracChangeset for help on using the changeset viewer.