Ignore:
Timestamp:
2024-06-13T21:18:45+02:00 (5 months ago)
Author:
taylor.smock
Message:

Cleanup some new PMD warnings from PMD 7.x (followup of r19101)

File:
1 edited

Legend:

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

    r19016 r19106  
    176176        buttons.add(new SideButton(fixAction));
    177177
    178         if (ValidatorPrefHelper.PREF_USE_IGNORE.get()) {
     178        if (Boolean.TRUE.equals(ValidatorPrefHelper.PREF_USE_IGNORE.get())) {
    179179            ignoreAction = new AbstractAction() {
    180180                {
     
    430430        OsmDataLayer editLayer = e.getSource().getEditLayer();
    431431        if (editLayer == null) {
    432             tree.setErrorList(new ArrayList<TestError>());
     432            tree.setErrorList(new ArrayList<>());
    433433        } else {
    434434            tree.setErrorList(editLayer.validationErrors);
Note: See TracChangeset for help on using the changeset viewer.