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

File:
1 edited

Legend:

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

    r6027 r6069  
    121121    private Stroke rubberLineStroke;
    122122    private static final BasicStroke BASIC_STROKE = new BasicStroke(1);
    123    
     123
    124124    public DrawAction(MapFrame mapFrame) {
    125125        super(tr("Draw"), "node/autonode", tr("Draw nodes"),
     
    204204            return;
    205205        super.enterMode();
    206        
     206
    207207        rubberLineColor = Main.pref.getColor(marktr("helper line"), null);
    208208        if (rubberLineColor == null) rubberLineColor = PaintColors.SELECTED.get();
    209        
     209
    210210        rubberLineStroke = GuiHelper.getCustomizedStroke(Main.pref.get("draw.stroke.helper-line","3"));
    211211        drawHelperLine = Main.pref.getBoolean("draw.helper-line", true);
     
    773773        updateKeyModifiers(e);
    774774        mousePos = e.getPoint();
    775         if (snapHelper.isSnapOn() && ctrl) 
     775        if (snapHelper.isSnapOn() && ctrl)
    776776            tryToSetBaseSegmentForAngleSnap();
    777          
     777
    778778        computeHelperLine();
    779779        addHighlighting();
    780780    }
    781    
     781
    782782    /**
    783783     * This method is used to detect segment under mouse and use it as reference for angle snapping
     
    888888        currentBaseNode = null;
    889889        previousNode = null;
    890        
     890
    891891        // Try to find an open way to measure angle from it. The way is not to be continued!
    892892        // warning: may result in changes of currentBaseNode and previousNode
     
    895895            for (OsmPrimitive p: selectedNode.getReferrers()) {
    896896                if (p.isUsable() && p instanceof Way && ((Way) p).isFirstLastNode(selectedNode)) {
    897                     if (selectedWay!=null) { // two uncontinued ways, nothing to take as reference 
     897                    if (selectedWay!=null) { // two uncontinued ways, nothing to take as reference
    898898                        selectedWay=null;
    899899                        break;
     
    904904                }
    905905            }
    906         } 
    907        
     906        }
     907
    908908        if (selectedNode == null) {
    909909            if (selectedWay == null)
     
    916916        }
    917917    }
    918    
     918
    919919    /**
    920920     * if one of the ends of @param way is given @param node ,
     
    13491349        JCheckBoxMenuItem checkBox;
    13501350        public final Color ORANGE_TRANSPARENT = new Color(Color.ORANGE.getRed(),Color.ORANGE.getGreen(),Color.ORANGE.getBlue(),128);
    1351    
     1351
    13521352        public void init() {
    13531353            snapOn=false;
Note: See TracChangeset for help on using the changeset viewer.