mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-26 23:46:36 +00:00
use boat class in SwissTiming connector when creating the event
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ public class DomainFactoryImpl implements DomainFactory {
|
||||
public Event getOrCreateEvent(String raceID) {
|
||||
Event result = raceIDToEventCache.get(raceID);
|
||||
if (result == null) {
|
||||
result = new EventImpl(raceID, null);
|
||||
result = new EventImpl(raceID, getOrCreateBoatClassFromRaceID(raceID));
|
||||
raceIDToEventCache.put(raceID, result);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user