Changeset 13914 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-06-11T01:21:41+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r13829 r13914 776 776 777 777 @Override 778 public OsmPrimitive getPrimitiveById(long id, OsmPrimitiveType type) {779 return getPrimitiveById(new SimplePrimitiveId(id, type));780 }781 782 @Override783 778 public OsmPrimitive getPrimitiveById(PrimitiveId primitiveId) { 784 779 return primitiveId != null ? primitivesMap.get(primitiveId) : null; -
trunk/src/org/openstreetmap/josm/data/osm/OsmData.java
r13766 r13914 115 115 * @throws NullPointerException if type is null 116 116 */ 117 O getPrimitiveById(long id, OsmPrimitiveType type); 117 default O getPrimitiveById(long id, OsmPrimitiveType type) { 118 return getPrimitiveById(new SimplePrimitiveId(id, type)); 119 } 118 120 119 121 /**
Note:
See TracChangeset
for help on using the changeset viewer.