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/AddImageryLayerAction.java

    r8509 r8510  
    4343     */
    4444    public AddImageryLayerAction(ImageryInfo info) {
    45         super(info.getMenuName(), /* ICON */"imagery_menu", tr("Add imagery layer {0}",info.getName()), null, false, false);
     45        super(info.getMenuName(), /* ICON */"imagery_menu", tr("Add imagery layer {0}", info.getName()), null, false, false);
    4646        putValue("toolbar", "imagery_" + info.getToolbarName());
    4747        putValue("help", ht("/Preferences/Imagery"));
     
    105105            formats.setToolTipText(tr("Select image format for WMS layer"));
    106106
    107             if (1 != new ExtendedDialog(Main.parent, tr("Select WMS layers"), new String[]{tr("Add layers"), tr("Cancel")}) {{
     107            if (1 != new ExtendedDialog(Main.parent, tr("Select WMS layers"), new String[]{tr("Add layers"), tr("Cancel")}) { {
    108108                final JScrollPane scrollPane = new JScrollPane(tree.getLayerTree());
    109109                scrollPane.setPreferredSize(new Dimension(400, 400));
     
    112112                panel.add(formats, GBC.eol().fill(GBC.HORIZONTAL));
    113113                setContent(panel);
    114             }}.showDialog().getValue()) {
     114            } }.showDialog().getValue()) {
    115115                return null;
    116116            }
Note: See TracChangeset for help on using the changeset viewer.