Ignore:
Timestamp:
2015-04-28T00:49:49+02:00 (9 years ago)
Author:
Don-vip
Message:

fix sonar squid:S2039 - Member variable visibility should be specified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/MoveCommand.java

    r7005 r8285  
    171171        for (Node n : nodes) {
    172172            OldNodeState os = it.next();
    173             if (os.eastNorth != null) {
    174                 n.setEastNorth(os.eastNorth.add(x, y));
     173            if (os.getEastNorth() != null) {
     174                n.setEastNorth(os.getEastNorth().add(x, y));
    175175            }
    176176        }
     
    197197        for (Node n : nodes) {
    198198            OldNodeState os = it.next();
    199             n.setCoor(os.latlon);
    200             n.setModified(os.modified);
     199            n.setCoor(os.getLatlon());
     200            n.setModified(os.isModified());
    201201        }
    202202    }
Note: See TracChangeset for help on using the changeset viewer.