Skip to content

Commit 53bc3c2

Browse files
authored
Merge pull request #179 from HSLdevcom/mute-useless-warning
Mute useless warning
2 parents 8e12f21 + 60196b0 commit 53bc3c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/org/opentripplanner/routing/core/RoutingRequest.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -1030,11 +1030,8 @@ public int hashCode() {
10301030

10311031
/** Tear down any routing context (remove temporary edges from edge lists) */
10321032
public void cleanup() {
1033-
if (this.rctx == null)
1034-
LOG.warn("routing context was not set, cannot destroy it.");
1035-
else {
1033+
if (this.rctx != null) {
10361034
rctx.destroy();
1037-
LOG.debug("routing context destroyed");
10381035
}
10391036
}
10401037

0 commit comments

Comments
 (0)