Changeset 1934 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2009-08-08T14:20:02+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r1923 r1934 55 55 56 56 /** 57 * 58 * @return 57 * Replies the number of nodes in this ways. 58 * 59 * @return the number of nodes in this ways. 59 60 * @since 1862 60 61 */ … … 64 65 65 66 /** 66 * 67 * @param index 68 * @return 67 * Replies the node at position <code>index</code>. 68 * 69 * @param index the position 70 * @return the node at position <code>index</code> 71 * @exception IndexOutOfBoundsException thrown if <code>index</code> < 0 72 * or <code>index</code> >= {@see #getNodesCount()} 69 73 * @since 1862 70 74 */ … … 129 133 130 134 /** 131 * Create an identical clone of the argument (including the id) 132 */ 133 public Way(Way clone) { 134 cloneFrom(clone); 135 * Create an identical clone of the argument (including the id). 136 * 137 * @param original the original way. Must not be null. 138 */ 139 public Way(Way original) { 140 cloneFrom(original); 135 141 } 136 142 … … 143 149 144 150 /** 145 * Create an incomplete Way. 151 * Create an incomplete Way with a given id. 152 * 153 * @param id the id. id > 0 required. 146 154 */ 147 155 public Way(long id) { 156 // FIXME: shouldn't we check for id > 0? 157 // 148 158 this.id = id; 149 159 incomplete = true;
Note:
See TracChangeset
for help on using the changeset viewer.