mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Removed unused code
This commit is contained in:
1 parent
54bb0a26f9
commit
c356f73552
1 file changed
-11
-11
@@ -61,17 +61,6 @@ public abstract class RaceLogMappingWrapper<ItemT extends WithID> {
|
||||
}
|
||||
}
|
||||
|
||||
<FixT extends Timed> void recordFix(DeviceIdentifier device, FixT fix,
|
||||
BiConsumer<DeviceMappingWithRegattaLogEvent<ItemT>, FixT> recorder) {
|
||||
if (mappingsByDevice.get(device) != null) {
|
||||
for (DeviceMappingWithRegattaLogEvent<ItemT> mapping : mappingsByDevice.get(device)) {
|
||||
if (mapping.getTimeRange().includes(fix.getTimePoint())) {
|
||||
recorder.accept(mapping, fix);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract Map<ItemT, List<DeviceMappingWithRegattaLogEvent<ItemT>>> calculateMappings()
|
||||
throws DoesNotHaveRegattaLogException;
|
||||
|
||||
|
||||
Reference in new issue
Block a user