Fix warning r3.7
This commit is contained in:
parent
ac5a345455
commit
b73df007de
1 changed files with 5 additions and 2 deletions
|
@ -57,8 +57,11 @@ public class TransportStopsRouteReader {
|
||||||
if (rrs != null && !multifileStop.isDeleted()) {
|
if (rrs != null && !multifileStop.isDeleted()) {
|
||||||
for (int rr : rrs) {
|
for (int rr : rrs) {
|
||||||
TransportRoute route = routesToLoad.get(rr);
|
TransportRoute route = routesToLoad.get(rr);
|
||||||
if (route == null && routesToLoad.containsKey(rr)) {
|
if (route == null) {
|
||||||
System.err.println(String.format("Something went wrong by loading combined route %d for stop %s", rr, stop));
|
if (routesToLoad.containsKey(rr)) {
|
||||||
|
System.err.println(String.format(
|
||||||
|
"Something went wrong by loading combined route %d for stop %s", rr, stop));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
TransportRoute combinedRoute = getCombinedRoute(route);
|
TransportRoute combinedRoute = getCombinedRoute(route);
|
||||||
if (multifileStop == stop || (!multifileStop.hasRoute(combinedRoute.getId())
|
if (multifileStop == stop || (!multifileStop.hasRoute(combinedRoute.getId())
|
||||||
|
|
Loading…
Reference in a new issue