remove unused fields
This commit is contained in:
parent
580efa0cc0
commit
aa36bff8c6
1 changed files with 2 additions and 2 deletions
|
@ -1023,8 +1023,8 @@ public class TransportRoutePlanner {
|
||||||
|
|
||||||
for (int i = 0; i < nr.waysIds.length; i++) {
|
for (int i = 0; i < nr.waysIds.length; i++) {
|
||||||
List<Node> wnodes = new ArrayList<>();
|
List<Node> wnodes = new ArrayList<>();
|
||||||
for (int j = 0; j < nr.waysNodesIds[i].length; j++) {
|
for (int j = 0; j < nr.waysNodesLats[i].length; j++) {
|
||||||
wnodes.add(new Node(nr.waysNodesLats[i][j], nr.waysNodesLons[i][j], nr.waysNodesIds[i][j]));
|
wnodes.add(new Node(nr.waysNodesLats[i][j], nr.waysNodesLons[i][j], -1));
|
||||||
}
|
}
|
||||||
r.addWay(new Way(nr.waysIds[i], wnodes));
|
r.addWay(new Way(nr.waysIds[i], wnodes));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue