Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java

    r8444 r8510  
    127127            Point p = Main.map.mapView.getPoint(ll);
    128128            nd = Main.map.mapView.getNearestNode(p, OsmPrimitive.isUsablePredicate);
    129             if (nd!=null && nd.getCoor().greatCircleDistance(ll) > Main.pref.getDouble("remote.tolerance", 0.1)) {
     129            if (nd != null && nd.getCoor().greatCircleDistance(ll) > Main.pref.getDouble("remote.tolerance", 0.1)) {
    130130                nd = null; // node is too far
    131131            }
     
    141141        }
    142142
    143         if (prev!=null) {
     143        if (prev != null) {
    144144            nd = prev;
    145         } else if (nd==null) {
     145        } else if (nd == null) {
    146146            nd = new Node(ll);
    147147            // Now execute the commands to add this node.
Note: See TracChangeset for help on using the changeset viewer.