Ignore:
Timestamp:
2010-09-15T08:21:16+02:00 (14 years ago)
Author:
stoecker
Message:

fix array preferences

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

Legend:

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

    r3217 r3530  
    4444 * The "surviving" node will be the one with the lowest positive id.
    4545 * (I.e. it was uploaded to the server and is the oldest one.)
    46  * 
     46 *
    4747 * However we use the location of the node that was selected *last*.
    4848 * The "surviving" node will be moved to that location if it is
     
    9494        return targetNode;
    9595    }
    96    
     96
    9797    /**
    9898     * Find which node to merge into (i.e. which one will be left)
     
    119119        return targetNode;
    120120    }
    121    
     121
    122122
    123123    /**
     
    193193        return mergeNodes(layer, nodes, targetNode, targetNode);
    194194    }
    195    
     195
    196196    /**
    197197     * Merges the nodes in <code>nodes</code> onto one of the nodes. Uses the dataset
  • trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java

    r3501 r3530  
    137137            }
    138138            msg.append("</ul>");
    139            
     139
    140140            HelpAwareOptionPane.showMessageDialogInEDT(
    141141                    Main.parent,
     
    179179                                public void run() {
    180180                                    JOptionPane.showMessageDialog(Main.parent, tr(
    181                                             "<html>Cannot open directory ''{0}''.<br>Please select a file.</html>", 
     181                                            "<html>Cannot open directory ''{0}''.<br>Please select a file.</html>",
    182182                                            f.getAbsolutePath()), tr("Open file"), JOptionPane.ERROR_MESSAGE);
    183183                                }
    184184                            });
    185                             // TODO when changing to Java 6: Don't cancel the 
     185                            // TODO when changing to Java 6: Don't cancel the
    186186                            // task here but use different modality. (Currently 2 dialogs
    187187                            // would block each other.)
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r3083 r3530  
    188188     * Replies true if <code>node</code> is a required node which can't be removed
    189189     * in order to simplify the way.
    190      * 
     190     *
    191191     * @param way the way to be simplified
    192192     * @param node the node to check
     
    210210    /**
    211211     * Simplifies a way
    212      * 
     212     *
    213213     * @param w the way to simplify
    214214     */
     
    255255     * Builds the simplified list of nodes for a way segment given by a lower index <code>from</code>
    256256     * and an upper index <code>to</code>
    257      * 
     257     *
    258258     * @param wnew the way to simplify
    259259     * @param from the lower index
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r2990 r3530  
    120120     * Makes sure primitives in <code>apiData</code> don't participate in conflicts and
    121121     * runs the installed {@see UploadHook}s.
    122      * 
     122     *
    123123     * @param layer the source layer of the data to be uploaded
    124124     * @param apiData the data to be uploaded
     
    143143    /**
    144144     * Uploads data to the OSM API.
    145      * 
     145     *
    146146     * @param layer the source layer for the data to upload
    147147     * @param apiData the primitives to be added, updated, or deleted
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r3262 r3530  
    164164            double xoff = en3.east() - base.east();
    165165            double yoff = en3.north() - base.north();
    166            
     166
    167167            newN1en = new EastNorth(en1.getX() + xoff, en1.getY() + yoff);
    168168            newN2en = new EastNorth(en2.getX() + xoff, en2.getY() + yoff);
Note: See TracChangeset for help on using the changeset viewer.