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

Checkstyle 6.19: enable SingleSpaceSeparator and fix violations

Location:
trunk/src/org/openstreetmap/josm/command
Files:
5 edited

Legend:

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

    r10248 r10378  
    107107    public MoveCommand(Collection<OsmPrimitive> objects, EastNorth start, EastNorth end) {
    108108        this(objects, end.getX()-start.getX(), end.getY()-start.getY());
    109         startEN =  start;
     109        startEN = start;
    110110    }
    111111
     
    118118    public MoveCommand(OsmPrimitive p, EastNorth start, EastNorth end) {
    119119        this(Collections.singleton(p), end.getX()-start.getX(), end.getY()-start.getY());
    120         startEN =  start;
     120        startEN = start;
    121121    }
    122122
  • trunk/src/org/openstreetmap/josm/command/PurgeCommand.java

    r9989 r10378  
    231231        List<Relation> outR = new ArrayList<>(inR.size());
    232232        while (!childlessR.isEmpty()) {
    233             // Identify one childless Relation and
    234             // let it virtually die. This makes other
    235             // relations childless.
    236             Iterator<Relation> it  = childlessR.iterator();
     233            // Identify one childless Relation and let it virtually die. This makes other relations childless.
     234            Iterator<Relation> it = childlessR.iterator();
    237235            Relation next = it.next();
    238236            it.remove();
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r9371 r10378  
    8181            double x = oldEastNorth.east() - pivot.east();
    8282            double y = oldEastNorth.north() - pivot.north();
     83            // CHECKSTYLE.OFF: SingleSpaceSeparator
    8384            double nx =  cosPhi * x + sinPhi * y + pivot.east();
    8485            double ny = -sinPhi * x + cosPhi * y + pivot.north();
     86            // CHECKSTYLE.ON: SingleSpaceSeparator
    8587            n.setEastNorth(new EastNorth(nx, ny));
    8688        }
  • trunk/src/org/openstreetmap/josm/command/ScaleCommand.java

    r9371 r10378  
    4444        // releases the button and presses it again with the same modifiers.
    4545        // The very first point of this operation is stored here.
    46         startEN   = currentEN;
     46        startEN = currentEN;
    4747
    4848        handleEvent(currentEN);
  • trunk/src/org/openstreetmap/josm/command/conflict/ConflictAddCommand.java

    r10364 r10378  
    3232    public ConflictAddCommand(OsmDataLayer layer, Conflict<? extends OsmPrimitive> conflict) {
    3333        super(layer);
    34         this.conflict  = conflict;
     34        this.conflict = conflict;
    3535    }
    3636
Note: See TracChangeset for help on using the changeset viewer.