Changeset 1313 in josm for trunk/src/org/openstreetmap/josm/data/osm/Way.java
- Timestamp:
- 2009-01-20T18:26:59+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r1270 r1313 30 30 public Integer mappaintDrawnAreaCode = 0; 31 31 /* end of mappaint data */ 32 32 @Override protected void clearCached() 33 { 34 super.clearCached(); 35 isMappaintArea = false; 36 mappaintDrawnAreaCode = 0; 37 } 38 33 39 public void visitNodes(Visitor v) { 34 40 for (Node n : this.nodes) … … 126 132 } 127 133 134 public void addNode(Node n) 135 { 136 clearCached(); 137 nodes.add(n); 138 } 139 140 public void addNode(int offs, Node n) 141 { 142 clearCached(); 143 nodes.add(offs, n); 144 } 145 128 146 public Boolean isClosed() { 129 147 int s = nodes.size();
Note:
See TracChangeset
for help on using the changeset viewer.