Changeset 15230 in josm


Ignore:
Timestamp:
2019-07-07T23:21:48+02:00 (5 years ago)
Author:
Don-vip
Message:

see #14208 - fix Spotbugs warning (useless condition)

File:
1 edited

Legend:

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

    r15226 r15230  
    900900                        mapView.moveLayer(layers.get(row), row + delta);
    901901                    }
    902                 } else if (delta > 0) {
     902                } else {
    903903                    for (int i = selectedRows.length - 1; i >= 0; i--) {
    904904                        mapView.moveLayer(layers.get(selectedRows[i]), selectedRows[i] + delta);
Note: See TracChangeset for help on using the changeset viewer.