Changeset 13094 in josm for trunk/src/org
- Timestamp:
- 2017-11-06T22:46:26+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r12846 r13094 508 508 509 509 /** 510 * Returns the OSM id of the object's parent. 511 * <p> 512 * Parent must be matched by parent selector. 513 * @param env the environment 514 * @return the OSM id of the object's parent, if available, or {@code null} 515 * @see OsmPrimitive#getUniqueId() 516 */ 517 public static long parent_osm_id(final Environment env) { // NO_UCD (unused code) 518 return env.parent == null ? null : env.parent.getUniqueId(); 519 } 520 521 /** 510 522 * Determines whether the object has a tag with the given key. 511 523 * @param env the environment
Note:
See TracChangeset
for help on using the changeset viewer.