Changeset 18019 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-07-14T19:16:41+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/IWay.java
r16119 r18019 133 133 */ 134 134 boolean isInnerNode(INode n); 135 136 /** 137 * Replies true if this way has incomplete nodes, false otherwise. 138 * @return true if this way has incomplete nodes, false otherwise. 139 * @since 18019 140 */ 141 default boolean hasIncompleteNodes() { 142 return false; 143 } 135 144 } -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r17981 r18019 606 606 } 607 607 608 /** 609 * Replies true if this way has incomplete nodes, false otherwise. 610 * @return true if this way has incomplete nodes, false otherwise. 611 * @since 2587 612 */ 608 @Override 613 609 public boolean hasIncompleteNodes() { 614 610 return Arrays.stream(nodes).anyMatch(Node::isIncomplete); -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r17867 r18019 850 850 if (e.osm instanceof IRelation<?>) { 851 851 return !((IRelation<?>) e.osm).hasIncompleteMembers(); 852 } else if (e.osm instanceof IWay<?>) { 853 return !((IWay<?>) e.osm).hasIncompleteNodes(); 854 } else if (e.osm instanceof INode) { 855 return ((INode) e.osm).isLatLonKnown(); 852 856 } else { 853 857 return true;
Note:
See TracChangeset
for help on using the changeset viewer.