Ignore:
Timestamp:
2016-06-15T10:30:37+02:00 (8 years ago)
Author:
Don-vip
Message:

Checkstyle 6.19: enable SingleSpaceSeparator and fix violations

File:
1 edited

Legend:

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

    r10308 r10378  
    150150            ExistingValues old = new ExistingValues(key);
    151151            for (OsmPrimitive osm : sel) {
    152                 oldValue  = osm.get(key);
     152                oldValue = osm.get(key);
    153153                if (oldValue != null) {
    154154                    old.addValue(oldValue);
     
    209209        propertyTable.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.SHIFT_MASK), "shiftenter");
    210210        propertyTable.getActionMap().put("shiftenter", new AbstractAction() {
    211             @Override  public void actionPerformed(ActionEvent e) {
     211            @Override public void actionPerformed(ActionEvent e) {
    212212                buttonAction(1, e); // add all tags on Shift-Enter
    213213            }
     
    242242    protected void buttonAction(int buttonIndex, ActionEvent evt) {
    243243        // if layer all layers were closed, ignore all actions
    244         if (Main.main.getCurrentDataSet() != null  && buttonIndex != 2) {
     244        if (Main.main.getCurrentDataSet() != null && buttonIndex != 2) {
    245245            TableModel tm = propertyTable.getModel();
    246246            for (int i = 0; i < tm.getRowCount(); i++) {
Note: See TracChangeset for help on using the changeset viewer.