Changeset 13953 in josm for trunk/src


Ignore:
Timestamp:
2018-06-18T19:42:14+02:00 (6 years ago)
Author:
Don-vip
Message:

fix cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDataText.java

    r13926 r13953  
    2222import org.openstreetmap.josm.data.osm.OsmData;
    2323import org.openstreetmap.josm.data.osm.OsmPrimitive;
    24 import org.openstreetmap.josm.data.osm.Way;
    2524import org.openstreetmap.josm.data.projection.proj.TransverseMercator;
    2625import org.openstreetmap.josm.data.projection.proj.TransverseMercator.Hemisphere;
     
    173172            add(tr("Centroid: "),
    174173                    toStringCSV(", ", Main.getProjection().eastNorth2latlon(
    175                             Geometry.getCentroid(((Way) o).getNodes()))));
     174                            Geometry.getCentroid(((IWay<?>) o).getNodes()))));
    176175            addWayNodes((IWay<?>) o);
    177176        } else if (o instanceof IRelation) {
Note: See TracChangeset for help on using the changeset viewer.