Edited DataExtractionOSM/src/net/osmand/osm/Way.java via GitHub

This commit is contained in:
arlas 2011-09-19 16:38:07 +03:00
parent a500d0a4f4
commit 6c908b967e

View file

@ -88,11 +88,11 @@ public class Way extends Entity {
} else { } else {
nodes.clear(); nodes.clear();
} }
for (int i = 0; i < nodeIds.size(); i++) { int nIsize = nodeIds.size();
for (int i = 0; i < nIsize; i++) {
nodes.add((Node) entities.get(new EntityId(EntityType.NODE,nodeIds.get(i)))); nodes.add((Node) entities.get(new EntityId(EntityType.NODE,nodeIds.get(i))));
} }
} }
} }
@Override @Override