mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
cleaned up style
This commit is contained in:
1 parent
e88c2a4489
commit
9062e8b762
2 files changed
-3
No files matched your search
-1
@@ -842,7 +842,6 @@ public abstract class AbstractLeaderboardWithCache implements Leaderboard {
|
||||
// without wind information, use null meaning "unknown"
|
||||
averageSignedCrossTrackError = null;
|
||||
}
|
||||
|
||||
final CompetitorRankingInfo competitorRankingInfo = rankingInfo.getCompetitorRankingInfo().apply(competitor);
|
||||
return new RaceDetails(legDetails, windwardDistanceToCompetitorFarthestAhead, averageAbsoluteCrossTrackError, averageSignedCrossTrackError,
|
||||
trackedRace.getRankingMetric().getGapToLeaderInOwnTime(rankingInfo, competitor, cache),
|
||||
|
||||
-2
@@ -105,7 +105,6 @@ public class BravoFixTrackImpl<ItemType extends WithID & Serializable> extends S
|
||||
super(trackedItem, trackName, BravoFixTrack.TRACK_NAME + " for " + trackedItem);
|
||||
this.hasExtendedFixes = hasExtendedFixes;
|
||||
initCaches(trackedItem);
|
||||
|
||||
setGpsTrack(gpsTrack);
|
||||
}
|
||||
|
||||
@@ -189,7 +188,6 @@ public class BravoFixTrackImpl<ItemType extends WithID & Serializable> extends S
|
||||
final boolean added = super.add(fix, replace);
|
||||
if (added) {
|
||||
final TimePoint fixTimePoint = fix.getTimePoint();
|
||||
|
||||
invalidateAllAtOrLaterThanForCaches(fixTimePoint, averageRideHeightCache, foilingDistanceCache,
|
||||
foilingTimeCache, expeditionAWACache, expeditionAWSCache, expeditionTWACache, expeditionTWSCache,
|
||||
expeditionTWDCache, expeditionBoatSpeedCache, expeditionTargBoatSpeedCache, expeditionSOGCache,
|
||||
|
||||
Reference in new issue
Block a user