Ignore:
Timestamp:
2013-07-17T00:01:07+02:00 (11 years ago)
Author:
stoecker
Message:

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

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

Legend:

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

    r5953 r6069  
    5959        init(data, toSelect);
    6060    }
    61    
     61
    6262    private final void init(List<PrimitiveData> data, List<PrimitiveData> toSelect) {
    6363        CheckParameterUtil.ensureParameterNotNull(data, "data");
     
    113113    @Override public void undoCommand() {
    114114        DataSet ds = getLayer().data;
    115        
     115
    116116        if (createdPrimitives == null) {
    117117            createdPrimitives = new ArrayList<OsmPrimitive>(data.size());
    118118            createdPrimitivesToSelect = new ArrayList<OsmPrimitive>(toSelect.size());
    119            
     119
    120120            for (PrimitiveData pd : data) {
    121121                OsmPrimitive p = ds.getPrimitiveById(pd);
     
    126126            }
    127127            createdPrimitives = PurgeCommand.topoSort(createdPrimitives);
    128            
     128
    129129            for (PrimitiveData p : data) {
    130130                ds.removePrimitive(p);
     
    132132            data = null;
    133133            toSelect = null;
    134            
     134
    135135        } else {
    136136            for (OsmPrimitive osm : createdPrimitives) {
     
    161161        if (createdPrimitives != null)
    162162            return createdPrimitives;
    163        
     163
    164164        Collection<OsmPrimitive> prims = new HashSet<OsmPrimitive>();
    165165        for (PrimitiveData d : data) {
  • trunk/src/org/openstreetmap/josm/command/MoveCommand.java

    r5694 r6069  
    3131    private Collection<Node> nodes = new LinkedList<Node>();
    3232    /**
    33      * Starting position, base command point, current (mouse-drag) position = startEN + (x,y) = 
     33     * Starting position, base command point, current (mouse-drag) position = startEN + (x,y) =
    3434     */
    3535    private EastNorth startEN;
     
    7373        this(objects, offset.getX(), offset.getY());
    7474    }
    75    
     75
    7676    /**
    7777     * Create a MoveCommand and assign the initial object set and movement vector.
     
    102102         startEN =  start;
    103103     }
    104      
     104
    105105    /**
    106106     * Move the same set of objects again by the specified vector. The vectors
     
    122122        moveAgain(x - this.x, y - this.y);
    123123    }
    124    
    125     /**
    126      * Change the displacement vector to have endpoint @param currentEN 
     124
     125    /**
     126     * Change the displacement vector to have endpoint @param currentEN
    127127     * starting point is  startEN
    128128     */
    129129    public void applyVectorTo(EastNorth currentEN) {
    130         if (startEN == null) 
     130        if (startEN == null)
    131131            return;
    132132        x = currentEN.getX() - startEN.getX();
  • trunk/src/org/openstreetmap/josm/command/PurgeCommand.java

    r5993 r6069  
    3939
    4040    protected Map<PrimitiveId, PrimitiveData> makeIncompleteData_byPrimId;
    41    
     41
    4242    protected final ConflictCollection purgedConflicts = new ConflictCollection();
    4343
     
    132132            }
    133133        }
    134        
     134
    135135        for (Conflict<?> conflict : purgedConflicts) {
    136136            getLayer().getConflicts().add(conflict);
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r4918 r6069  
    6161        handleEvent(currentEN);
    6262    }
    63    
     63
    6464    /**
    6565     * Get angle between the horizontal axis and the line formed by the pivot and give points.
Note: See TracChangeset for help on using the changeset viewer.