Ignore:
Timestamp:
2017-01-12T01:24:40+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:SEO_SUBOPTIMAL_EXPRESSION_ORDER - Performance - Method orders expressions in a conditional in a sub optimal way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java

    r11366 r11452  
    251251    protected void buttonAction(int buttonIndex, ActionEvent evt) {
    252252        // if layer all layers were closed, ignore all actions
    253         if (Main.getLayerManager().getEditDataSet() != null && buttonIndex != 2) {
     253        if (buttonIndex != 2 && Main.getLayerManager().getEditDataSet() != null) {
    254254            TableModel tm = propertyTable.getModel();
    255255            for (int i = 0; i < tm.getRowCount(); i++) {
Note: See TracChangeset for help on using the changeset viewer.