Skip to content

Commit

Permalink
refactor(TravelerPosition.java): Removed redundant constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
br648 committed Nov 1, 2024
1 parent 2b3e003 commit 820584f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 820584f

Please sign in to comment.