Ignore:
Timestamp:
2015-03-08T23:39:57+01:00 (9 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/gui/tagging/TaggingPresetSearchDialog.java

    r7509 r8126  
    2525     * @return the unique instance of {@code TaggingPresetSearchDialog}.
    2626     */
    27     public static TaggingPresetSearchDialog getInstance() {
     27    public static synchronized TaggingPresetSearchDialog getInstance() {
    2828        if (instance == null) {
    2929            instance = new TaggingPresetSearchDialog();
Note: See TracChangeset for help on using the changeset viewer.