From 820584f5b733342026804f975bf40580e79e8d13 Mon Sep 17 00:00:00 2001 From: Robin Beer Date: Fri, 1 Nov 2024 14:32:13 +0000 Subject: [PATCH] refactor(TravelerPosition.java): Removed redundant constructor --- .../middleware/triptracker/TravelerPosition.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/org/opentripplanner/middleware/triptracker/TravelerPosition.java b/src/main/java/org/opentripplanner/middleware/triptracker/TravelerPosition.java index 0328ae84..c51966fa 100644 --- a/src/main/java/org/opentripplanner/middleware/triptracker/TravelerPosition.java +++ b/src/main/java/org/opentripplanner/middleware/triptracker/TravelerPosition.java @@ -84,12 +84,6 @@ public TravelerPosition(Leg expectedLeg, Coordinates currentPosition) { /** Used for unit testing. */ public TravelerPosition(Leg nextLeg, Instant currentTime) { - this (null, nextLeg, currentTime); - } - - /** Used for unit testing. */ - public TravelerPosition(Leg expectedLeg, Leg nextLeg, Instant currentTime) { - this.expectedLeg = expectedLeg; this.nextLeg = nextLeg; this.currentTime = currentTime; }