From 6c908b967e1119e2a9cc9bd126e6eb7752804fa1 Mon Sep 17 00:00:00 2001 From: arlas Date: Mon, 19 Sep 2011 16:38:07 +0300 Subject: [PATCH] Edited DataExtractionOSM/src/net/osmand/osm/Way.java via GitHub --- DataExtractionOSM/src/net/osmand/osm/Way.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataExtractionOSM/src/net/osmand/osm/Way.java b/DataExtractionOSM/src/net/osmand/osm/Way.java index 00cda65f77..6e6c5d93fa 100644 --- a/DataExtractionOSM/src/net/osmand/osm/Way.java +++ b/DataExtractionOSM/src/net/osmand/osm/Way.java @@ -88,11 +88,11 @@ public class Way extends Entity { } else { 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)))); } } - } @Override