Update EntityParser.java
This commit is contained in:
parent
fe28e37efa
commit
207162756a
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue