Changeset 14971 in josm for trunk


Ignore:
Timestamp:
2019-04-07T19:48:39+02:00 (6 years ago)
Author:
GerdP
Message:

fix checkstyle issue

File:
1 edited

Legend:

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

    r14970 r14971  
    216216
    217217        // Closed way, check if the first node could also be simplified ...
    218         if (newNodes.size() > 3 && newNodes.get(0) == newNodes.get(newNodes.size() - 1) && !isRequiredNode(w, newNodes.get(0), multipleUseNodes)) {
     218        if (newNodes.size() > 3 && newNodes.get(0) == newNodes.get(newNodes.size() - 1)
     219                && !isRequiredNode(w, newNodes.get(0), multipleUseNodes)) {
    219220            final List<Node> l1 = Arrays.asList(newNodes.get(newNodes.size() - 2), newNodes.get(0), newNodes.get(1));
    220221            final List<Node> l2 = new ArrayList<>(3);
Note: See TracChangeset for help on using the changeset viewer.