Revert "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 reverts commit 13626b2ed1.
This commit is contained in:
Simon Pamies committed 2013-07-28 11:31:41 +01:00
1 parent 13626b2ed1
commit dfbc263ffb
1 file changed
+1 -2
@@ -215,8 +215,7 @@ 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 - first synchronously then in a separate thread
pollAndParseClientParamsPHP(paramURL, simulator, courseDesignUpdateURI, delayToLiveInMillis, tracTracUsername, tracTracPassword);
// Read event data from configuration file
controlPointPositionPoller = scheduleClientParamsPHPPoller(paramURL, simulator, courseDesignUpdateURI, delayToLiveInMillis, tracTracUsername, tracTracPassword);
receivers = new HashSet<Receiver>();
Set<TypeController> typeControllers = new HashSet<TypeController>();