provided default implementations for the getCorrectedGapToLeader methods on TrackedLegOfCompetitorImpl

This commit is contained in:
Axel Uhl committed 2015-04-17 17:21:19 +02:00
1 parent 73b3bcef85
commit 3f8b076562
1 file changed
+8 -8
@@ -592,29 +592,29 @@ public class TrackedLegOfCompetitorImpl implements TrackedLegOfCompetitor {
@Override
public Duration getCorrectedGapToLeader(TimePoint timePoint, WindPositionMode windPositionMode)
throws NoWindException {
// TODO Auto-generated method stub
return null;
// TODO bug 1018, see comment #17: implement the calculation for corrected windward distance
return getGapToLeader(timePoint, windPositionMode);
}
@Override
public Duration getCorrectedGapToLeader(TimePoint timePoint, WindPositionMode windPositionMode,
WindLegTypeAndLegBearingCache cache) throws NoWindException {
// TODO Auto-generated method stub
return null;
// TODO bug 1018, see comment #17: implement the calculation for corrected windward distance
return getGapToLeader(timePoint, windPositionMode, cache);
}
@Override
public Duration getCorrectedGapToLeader(TimePoint timePoint, Competitor leaderInLegAtTimePoint,
WindPositionMode windPositionMode) throws NoWindException {
// TODO Auto-generated method stub
return null;
// TODO bug 1018, see comment #17: implement the calculation for corrected windward distance
return getGapToLeader(timePoint, leaderInLegAtTimePoint, windPositionMode);
}
@Override
public Duration getCorrectedGapToLeader(TimePoint timePoint, Competitor leaderInLegAtTimePoint,
WindPositionMode windPositionMode, WindLegTypeAndLegBearingCache cache) throws NoWindException {
// TODO Auto-generated method stub
return null;
// TODO bug 1018, see comment #17: implement the calculation for corrected windward distance
return getGapToLeader(timePoint, leaderInLegAtTimePoint, windPositionMode, cache);
}
@Override