This course update logic is a mess. Making now sure to read the course at first. This is only a quick fix and I hate doing it...

This commit is contained in:
Simon Pamies committed 2013-07-28 10:52:38 +01:00
1 parent 580a65ee47
commit 13626b2ed1
1 file changed
+2 -1
@@ -215,7 +215,8 @@ public class TracTracRaceTrackerImpl extends AbstractRaceTrackerImpl implements
// in this case, create a default regatta based on the TracTrac event data
this.regatta = effectiveRegatta == null ? domainFactory.getOrCreateDefaultRegatta(raceLogStore, tractracEvent, trackedRegattaRegistry) : effectiveRegatta;
trackedRegatta = trackedRegattaRegistry.getOrCreateTrackedRegatta(this.regatta);
// Read event data from configuration file
// Read event data from configuration file - first synchronously then in a separate thread
pollAndParseClientParamsPHP(paramURL, simulator, courseDesignUpdateURI, delayToLiveInMillis, tracTracUsername, tracTracPassword);
controlPointPositionPoller = scheduleClientParamsPHPPoller(paramURL, simulator, courseDesignUpdateURI, delayToLiveInMillis, tracTracUsername, tracTracPassword);
receivers = new HashSet<Receiver>();
Set<TypeController> typeControllers = new HashSet<TypeController>();