mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
provided default implementations for the getCorrectedGapToLeader methods on TrackedLegOfCompetitorImpl
This commit is contained in:
1 parent
73b3bcef85
commit
3f8b076562
1 file changed
+8
-8
+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
|
||||
|
||||
Reference in new issue
Block a user