Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ff2f5724cd
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