Changeset 12281 in josm for trunk/src


Ignore:
Timestamp:
2017-05-31T02:09:03+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S1602 - Lamdbas containing only one statement should not nest this statement in a block

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r12279 r12281  
    10651065
    10661066        ConflictCollection conflictsCol = getConflicts();
    1067         return conflictsCol == null || conflictsCol.isEmpty() || 1 == GuiHelper.runInEDTAndWaitAndReturn(() -> {
    1068             return new ExtendedDialog(
     1067        return conflictsCol == null || conflictsCol.isEmpty() || 1 == GuiHelper.runInEDTAndWaitAndReturn(() ->
     1068            new ExtendedDialog(
    10691069                    Main.parent,
    10701070                    /* I18N: Display title of the window showing conflicts */
     
    10741074                    tr("There are unresolved conflicts. Conflicts will not be saved and handled as if you rejected all. Continue?"))
    10751075                .setButtonIcons("save", "cancel")
    1076                 .showDialog().getValue();
    1077         });
     1076                .showDialog().getValue()
     1077        );
    10781078    }
    10791079
Note: See TracChangeset for help on using the changeset viewer.