We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e12f21 + 60196b0 commit 53bc3c2Copy full SHA for 53bc3c2
src/main/java/org/opentripplanner/routing/core/RoutingRequest.java
@@ -1030,11 +1030,8 @@ public int hashCode() {
1030
1031
/** Tear down any routing context (remove temporary edges from edge lists) */
1032
public void cleanup() {
1033
- if (this.rctx == null)
1034
- LOG.warn("routing context was not set, cannot destroy it.");
1035
- else {
+ if (this.rctx != null) {
1036
rctx.destroy();
1037
- LOG.debug("routing context destroyed");
1038
}
1039
1040
0 commit comments