Changeset 8375 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2015-05-17T03:06:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java
r8346 r8375 171 171 172 172 boolean __add_content(T o) { 173 boolean ret = false;174 173 // The split_lock will keep two concurrent calls from overwriting content 175 174 if (content == null) { 176 175 content = new ArrayList<>(); 177 176 } 178 ret = content.add(o); 179 return ret; 177 return content.add(o); 180 178 } 181 179 … … 229 227 QBLevel<T> next = this; 230 228 QBLevel<T> sibling = next.next_sibling(); 231 // Walk back up the tree to find the 232 // next sibling node. It may be either 233 // a leaf or branch. 229 // Walk back up the tree to find the next sibling node. 230 // It may be either a leaf or branch. 234 231 while (sibling == null) { 235 232 next = next.parent; … … 239 236 sibling = next.next_sibling(); 240 237 } 241 next = sibling; 242 return next; 238 return sibling; 243 239 } 244 240
Note:
See TracChangeset
for help on using the changeset viewer.