Ignore:
Timestamp:
2014-09-07T16:33:52+02:00 (5 years ago)
Author:
stoecker
Message:

remove tabs

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r7017 r7509  
    3131
    3232/**
    33  * Action displayed in imagery menu to add a new imagery layer. 
     33 * Action displayed in imagery menu to add a new imagery layer.
    3434 * @since 3715
    3535 */
  • trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java

    r7005 r7509  
    101101    }
    102102
    103    
     103
    104104    /**
    105105     * Perform AlignInCircle action.
     
    137137        EastNorth center = null;
    138138        double radius = 0;
    139        
     139
    140140        for (OsmPrimitive osm : sel) {
    141141            if (osm instanceof Node) {
     
    163163            ArrayList<Node> inside = new ArrayList<>();
    164164            ArrayList<Node> outside = new ArrayList<>();
    165            
     165
    166166            for(Node n: nodes) {
    167167                boolean isInside = false;
     
    177177                    outside.add(n);
    178178            }
    179            
     179
    180180            if(outside.size() == 1 && inside.isEmpty()) {
    181181                center = outside.get(0).getEastNorth();
     
    190190                radius = distance(en0, en1) / 2;
    191191            }
    192            
     192
    193193            fixNodes.addAll(inside);
    194194            fixNodes.addAll(collectNodesWithExternReferers(ways));
     
    227227            }
    228228        }
    229    
     229
    230230        // Now calculate the average distance to each node from the
    231231        // center. This method is ok as long as distances are short
     
    243243
    244244        // Move each node to that distance from the center.
    245         // Nodes that are not "fix" will be adjust making regular arcs. 
     245        // Nodes that are not "fix" will be adjust making regular arcs.
    246246        int nodeCount = nodes.size();
    247247        // Search first fixed node
     
    276276            i = j; // Update start point for next iteration
    277277        }
    278        
     278
    279279        Main.main.undoRedo.add(new SequenceCommand(tr("Align Nodes in Circle"), cmds));
    280280        Main.map.repaint();
     
    294294        return withReferrers;
    295295    }
    296    
     296
    297297    /**
    298298     * Assuming all ways can be joined into polygon, create an ordered list of node.
     
    360360        return true;
    361361    }
    362    
     362
    363363    @Override
    364364    protected void updateEnabledState() {
  • trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java

    r7005 r7509  
    260260        private final Node a;
    261261        private final Node b;
    262        
     262
    263263        /**
    264264         * Constructs a new {@code NodePair}.
     
    351351            return result;
    352352        }
    353        
     353
    354354        @Override
    355355        public boolean equals(Object obj) {
  • trunk/src/org/openstreetmap/josm/actions/DownloadAction.java

    r6509 r7509  
    2626 */
    2727public class DownloadAction extends JosmAction {
    28    
     28
    2929    /**
    3030     * Constructs a new {@code DownloadAction}.
  • trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java

    r6964 r7509  
    2020
    2121/**
    22  * Action that merges two or more OSM data layers. 
     22 * Action that merges two or more OSM data layers.
    2323 * @since 1890
    2424 */
  • trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java

    r7025 r7509  
    5050 * The "surviving" node will be moved to that location if it is
    5151 * different from the last selected node.
    52  * 
     52 *
    5353 * @since 422
    5454 */
  • trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java

    r7005 r7509  
    123123            layersOut.add(layer);
    124124        }
    125        
     125
    126126        int active = -1;
    127127        Layer activeLayer = Main.map.mapView.getActiveLayer();
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r7005 r7509  
    3838 */
    3939public class SimplifyWayAction extends JosmAction {
    40    
     40
    4141    /**
    4242     * Constructs a new {@code SimplifyWayAction}.
  • trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java

    r7005 r7509  
    2727 */
    2828public class UnJoinNodeWayAction extends JosmAction {
    29    
     29
    3030    /**
    3131     * Constructs a new {@code UnJoinNodeWayAction}.
  • trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java

    r6336 r7509  
    1616 */
    1717public class ViewportFollowToggleAction extends ToggleAction {
    18    
     18
    1919    /**
    20      * Constructs a new {@code ViewportFollowToggleAction}. 
     20     * Constructs a new {@code ViewportFollowToggleAction}.
    2121     */
    2222    public ViewportFollowToggleAction() {
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r7299 r7509  
    155155                            String rangeA2 = rangeA[1].trim();
    156156                            // if min timestap is empty: use lowest possible date
    157                             long minDate = DateUtils.fromString(rangeA1.isEmpty() ? "1980" : rangeA1).getTime(); 
     157                            long minDate = DateUtils.fromString(rangeA1.isEmpty() ? "1980" : rangeA1).getTime();
    158158                            // if max timestamp is empty: use "now"
    159                             long maxDate = rangeA2.isEmpty() ? System.currentTimeMillis() : DateUtils.fromString(rangeA2).getTime(); 
     159                            long maxDate = rangeA2.isEmpty() ? System.currentTimeMillis() : DateUtils.fromString(rangeA2).getTime();
    160160                            return new TimestampRange(minDate, maxDate);
    161161                        } else {
  • trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java

    r7005 r7509  
    3838 */
    3939public class ValidateUploadHook implements UploadHook {
    40    
     40
    4141    /**
    4242     * Validate the modified data before uploading
Note: See TracChangeset for help on using the changeset viewer.