Ignore:
Timestamp:
2014-01-04T06:39:00+01:00 (12 years ago)
Author:
Don-vip
Message:

fix Sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java

    r6529 r6623  
    7979        remote.add(portLabel, GBC.eol().insets(5, 5, 0, 10).fill(GBC.HORIZONTAL));
    8080
    81         remote.add(enableRemoteControl = new JCheckBox(tr("Enable remote control"), RemoteControl.PROP_REMOTECONTROL_ENABLED.get()), GBC.eol());
     81        enableRemoteControl = new JCheckBox(tr("Enable remote control"), RemoteControl.PROP_REMOTECONTROL_ENABLED.get());
     82        remote.add(enableRemoteControl, GBC.eol());
    8283
    8384        final JPanel wrapper = new JPanel();
     
    8889
    8990        wrapper.add(new JLabel(tr("Permitted actions:")), GBC.eol());
    90         int INDENT = 15;
    9191        for (JCheckBox p : prefs.values()) {
    92             wrapper.add(p, GBC.eol().insets(INDENT, 5, 0, 0).fill(GBC.HORIZONTAL));
     92            wrapper.add(p, GBC.eol().insets(15, 5, 0, 0).fill(GBC.HORIZONTAL));
    9393        }
    9494
Note: See TracChangeset for help on using the changeset viewer.