- Timestamp:
- 2020-03-08T14:31:54+01:00 (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r15820 r16077 430 430 return idGenerator; 431 431 } 432 433 @Override 434 protected void updateDirectionFlags() { 435 // Nodes do not need/have a direction, greatly improves performance, see #18886 436 } 432 437 } -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r15820 r16077 607 607 } 608 608 609 pr ivatevoid updateDirectionFlags() {609 protected void updateDirectionFlags() { 610 610 boolean hasDirections = false; 611 611 boolean directionReversed = false; -
trunk/test/unit/org/openstreetmap/josm/data/osm/NodeTest.java
r14960 r16077 130 130 } 131 131 132 /** 133 * Test that {@link Node#hasDirectionKeys} is not set. 134 */ 135 @Test 136 public void testDirectional() { 137 assertFalse(OsmUtils.createPrimitive("node oneway=yes").hasDirectionKeys()); 138 } 132 139 }
Note:
See TracChangeset
for help on using the changeset viewer.