comment unused fields in pt result conversion
This commit is contained in:
parent
a128455d7e
commit
9cc7a4f6d5
1 changed files with 8 additions and 8 deletions
|
@ -1064,14 +1064,14 @@ public class TransportRoutePlanner {
|
||||||
s.y31 = ns.y31;
|
s.y31 = ns.y31;
|
||||||
// List<TransportRoute> routes1 = new ArrayList<>();
|
// List<TransportRoute> routes1 = new ArrayList<>();
|
||||||
//cache routes to avoid circular conversion and just search them by id
|
//cache routes to avoid circular conversion and just search them by id
|
||||||
for (int i = 0; i < ns.routes.length; i++) {
|
// for (int i = 0; i < ns.routes.length; i++) {
|
||||||
if (s.getRoutesIds().length == ns.routes.length && convertedRoutesCache != null
|
// if (s.getRoutesIds().length == ns.routes.length && convertedRoutesCache != null
|
||||||
&& convertedRoutesCache.get(ns.routesIds[i]) != null) {
|
// && convertedRoutesCache.get(ns.routesIds[i]) != null) {
|
||||||
s.addRoute(convertedRoutesCache.get(ns.routesIds[i]));
|
// s.addRoute(convertedRoutesCache.get(ns.routesIds[i]));
|
||||||
} else {
|
// } else {
|
||||||
s.addRoute(convertTransportRoute(ns.routes[i]));
|
// s.addRoute(convertTransportRoute(ns.routes[i]));
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (ns.pTStopExit_refs != null && ns.pTStopExit_refs.length > 0) {
|
if (ns.pTStopExit_refs != null && ns.pTStopExit_refs.length > 0) {
|
||||||
for (int i = 0; i < ns.pTStopExit_refs.length; i++) {
|
for (int i = 0; i < ns.pTStopExit_refs.length; i++) {
|
||||||
|
|
Loading…
Reference in a new issue