mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Added getAttachedRaceLogs to TrackedRace
This commit is contained in:
1 parent
07da99810d
commit
10e4e2feec
6 files changed
+27
No files matched your search
Executable → Regular
+5
@@ -1091,4 +1091,9 @@ public class MockedTrackedRace implements DynamicTrackedRace {
|
||||
@Override
|
||||
public void onStopTracking(boolean preemptive) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<RaceLog> getAttachedRaceLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
}
|
||||
+5
@@ -670,4 +670,9 @@ public class MockedTrackedRaceWithStartTimeAndRanks implements TrackedRace {
|
||||
public Iterable<RegattaLog> getAttachedRegattaLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<RaceLog> getAttachedRaceLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
}
|
||||
Executable → Regular
+2
@@ -924,4 +924,6 @@ public interface TrackedRace extends Serializable, IsManagedByCache<SharedDomain
|
||||
|
||||
default void unlockAfterSerializationRead() {
|
||||
}
|
||||
|
||||
Iterable<RaceLog> getAttachedRaceLogs();
|
||||
}
|
||||
+5
@@ -4028,4 +4028,9 @@ public abstract class TrackedRaceImpl extends TrackedRaceWithWindEssentials impl
|
||||
public void unlockAfterSerializationRead() {
|
||||
LockUtil.unlockAfterRead(getSerializationLock());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<RaceLog> getAttachedRaceLogs() {
|
||||
return new HashSet<>(attachedRaceLogs.values());
|
||||
}
|
||||
}
|
||||
Executable → Regular
+5
@@ -849,4 +849,9 @@ public class MockedTrackedRace implements DynamicTrackedRace {
|
||||
@Override
|
||||
public void onStopTracking(boolean preemptive) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<RaceLog> getAttachedRaceLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
}
|
||||
+5
@@ -645,4 +645,9 @@ public class DummyTrackedRace extends TrackedRaceWithWindEssentials {
|
||||
public Iterable<RegattaLog> getAttachedRegattaLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<RaceLog> getAttachedRaceLogs() {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user