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


Ignore:
Timestamp:
2021-08-20T18:19:09+02:00 (3 years ago)
Author:
Don-vip
Message:

fix PMD violations

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingComboBox.java

    r18125 r18141  
    3838
    3939    private boolean autocompleteEnabled = true;
    40     private boolean locked = false;
     40    private boolean locked;
    4141
    4242    private int maxTextLength = -1;
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java

    r18117 r18141  
    104104        // "Mac" is the native LAF, "Aqua" is Quaqua. Both use native menus with native tooltips.
    105105        String laf = UIManager.getLookAndFeel().getID();
    106         return !("true".equals(Utils.getSystemProperty("apple.laf.useScreenMenuBar"))
     106        return !("true".equals(getSystemProperty("apple.laf.useScreenMenuBar"))
    107107                && ("Aqua".equals(laf) || laf.contains("Mac")));
    108108    }
Note: See TracChangeset for help on using the changeset viewer.