Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-05-13 20:25:20 +02:00
commit ff2f5724cd

View file

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