Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java

    r8459 r8510  
    218218        final JList<DownloadTask> list = new JList<>(tasks.toArray(new DownloadTask[tasks.size()]));
    219219        list.addSelectionInterval(0, tasks.size() - 1);
    220         final ExtendedDialog dialog = new ExtendedDialog(Main.parent, tr("Which tasks to perform?"), new String[]{tr("Ok"), tr("Cancel")}, true) {{
     220        final ExtendedDialog dialog = new ExtendedDialog(Main.parent,
     221                tr("Which tasks to perform?"), new String[]{tr("Ok"), tr("Cancel")}, true) { {
    221222            setButtonIcons(new String[]{"ok", "cancel"});
    222223            final JPanel pane = new JPanel(new GridLayout(2, 1));
     
    224225            pane.add(list);
    225226            setContent(pane);
    226         }};
     227        } };
    227228        dialog.showDialog();
    228229        return dialog.getValue() == 1 ? list.getSelectedValuesList() : Collections.<DownloadTask>emptyList();
Note: See TracChangeset for help on using the changeset viewer.