Changeset 13910 in josm


Ignore:
Timestamp:
2018-06-10T23:15:09+02:00 (6 years ago)
Author:
Don-vip
Message:

update BBox constructors to accept IWay/INode

File:
1 edited

Legend:

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

    r13140 r13910  
    9898     * @param w the way
    9999     */
    100     public BBox(Way w) {
     100    public BBox(IWay<?> w) {
    101101        w.getNodes().forEach(this::add);
    102102    }
     
    106106     * @param n the node
    107107     */
    108     public BBox(Node n) {
     108    public BBox(INode n) {
    109109        this((ILatLon) n);
    110110    }
Note: See TracChangeset for help on using the changeset viewer.