Changeset 5419 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-08-10T23:50:05+02:00 (12 years ago)
Author:
stoecker
Message:

fix typos

File:
1 edited

Legend:

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

    r5418 r5419  
    650650   
    651651    /**
    652      * Create or update data modfication command whle dragging mouse - implementation of
     652     * Create or update data modification command while dragging mouse - implementation of
    653653     * continuous moving, scaling and rotation
    654654     * @param currentEN - mouse position
    655      * @return
     655     * @return status of action (<code>true</code> when action was performed)
    656656     */
    657657    private boolean updateCommandWhileDragging(EastNorth currentEN) {
     
    709709   
    710710    /**
    711      * Adapt last move command (if it is suitabble) to work with next drag, startedd at point startEN
     711     * Adapt last move command (if it is suitable) to work with next drag, started at point startEN
    712712     */
    713713    private void useLastMoveCommandIfPossible() {
     
    732732    }
    733733   
     734    /**
     735     * Present warning in case of large and possibly unwanted movements and undo
     736     * unwanted movements.
     737     *
     738     * @param e the mouse event causing the action (mouse released)
     739     */
    734740    private void confirmOrUndoMovement(MouseEvent e) {
    735741        int max = Main.pref.getInteger("warn.move.maxelements", 20), limit = max;
     
    764770    }
    765771   
    766     /** Merges the selected nodes to the one closest to the given mouse position iff the control
     772    /**
     773     * Merges the selected nodes to the one closest to the given mouse position iff the control
    767774     * key is pressed. If there is no such node, no action will be done and no error will be
    768      * reported. If there is, it will execute the merge and add it to the undo buffer. */
     775     * reported. If there is, it will execute the merge and add it to the undo buffer.
     776     */
    769777    final private void mergePrims(Point p) {
    770778        Collection<Node> selNodes = getCurrentDataSet().getSelectedNodes();
     
    781789    }
    782790
    783     /** tries to find a node to merge to when in move-merge mode for the current mouse
    784      * position. Either returns the node or null, if no suitable one is nearby. */
     791    /**
     792     * Tries to find a node to merge to when in move-merge mode for the current mouse
     793     * position. Either returns the node or null, if no suitable one is nearby.
     794     */
    785795    final private Node findNodeToMergeTo(Point p) {
    786796        Collection<Node> target = mv.getNearestNodes(p,
Note: See TracChangeset for help on using the changeset viewer.