Ignore:
Timestamp:
2018-04-23T22:17:10+02:00 (6 years ago)
Author:
Don-vip
Message:

move a few methods from OsmPrimitive to IPrimitive, Relation to IRelation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Relation.java

    r13665 r13667  
    4141
    4242    /**
    43      *
     43     * Sets members of the relation.
    4444     * @param members Can be null, in that case all members are removed
    4545     * @since 1925
     
    430430    }
    431431
    432     /**
    433      * Determines if this relation is a boundary.
    434      * @return {@code true} if a boundary relation
    435      */
    436     public boolean isBoundary() {
    437         return "boundary".equals(get("type"));
    438     }
    439 
    440     @Override
    441     public boolean isMultipolygon() {
    442         return "multipolygon".equals(get("type")) || isBoundary();
    443     }
    444 
    445432    @Override
    446433    public BBox getBBox() {
Note: See TracChangeset for help on using the changeset viewer.