Changeset 1898 in josm for trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
- Timestamp:
- 2009-08-03T21:18:50+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r1814 r1898 32 32 import org.openstreetmap.josm.data.projection.Mercator; 33 33 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 34 import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor;35 34 import org.xml.sax.SAXException; 36 35 … … 280 279 assertEquals(w.id, way.id); 281 280 assertEquals(false, way.incomplete); 282 assertEquals(10, w. nodes.size());281 assertEquals(10, w.getNodesCount()); 283 282 } 284 283 } … … 326 325 for (Way way: referers.ways) { 327 326 Way orig = (Way)ds.getPrimitiveById(way.id); 328 for(Node n: orig. nodes) {327 for(Node n: orig.getNodes()) { 329 328 expectedNodeIds.add(n.id); 330 329 } … … 417 416 HashSet<Long> ret = new HashSet<Long>(); 418 417 if (way == null)return ret; 419 for (Node n: way. nodes) {418 for (Node n: way.getNodes()) { 420 419 ret.add(n.id); 421 420 }
Note:
See TracChangeset
for help on using the changeset viewer.