Ignore:
Timestamp:
2020-01-19T18:57:26+01:00 (4 years ago)
Author:
simon04
Message:

see #18503 - Relation editor: compute wayConnection for type=superroute

This basic implementation only considers route segments without a role
(as specified for public_transport:version=2; no forward/backward)
and does not take roundabouts into account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionType.java

    r15696 r15732  
    8080     */
    8181    public WayConnectionType(boolean invalid) {
     82        this.linkPrev = false;
     83        this.linkNext = false;
     84        this.isLoop = false;
     85        this.direction = NONE;
    8286        this.invalid = invalid;
    8387    }
     
    8589    /** construct invalid instance */
    8690    public WayConnectionType() {
    87         this.linkPrev = false;
    88         this.linkNext = false;
    89         this.isLoop = false;
    90         this.direction = NONE;
    91         invalid = true;
     91        this(true);
    9292    }
    9393
Note: See TracChangeset for help on using the changeset viewer.