Update EntityParser.java

This commit is contained in:
Alexey Pelykh 2015-05-13 21:24:52 +03:00
parent fe28e37efa
commit 207162756a

View file

@ -64,7 +64,7 @@ public class EntityParser {
if (e instanceof Way) {
nodes = ((Way) e).getNodes();
} else if (e instanceof Relation) {
nodes = new ArrayList<>();
nodes = new ArrayList<Node>();
for (Entity member : ((Relation) e).getMembers(null)) {
if (member instanceof Way) {
nodes.addAll(((Way) member).getNodes());