mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 02:13:55 +00:00
call the new DomainFactory.updateCourseWaypoints method
when the course changes
This commit is contained in:
1 parent
f8c36b2297
commit
dca886bd6c
1 file changed
+1
-1
+1
-1
@@ -80,7 +80,7 @@ public class RaceCourseReceiver extends AbstractReceiverWithQueue<Route, RouteDa
|
||||
logger.log(Level.INFO, "Received course update for existing race "+event.getC().getName());
|
||||
// race already exists; this means that we obviously found a course re-definition (yuck...)
|
||||
// Therefore, don't create TrackedRace again because it already exists.
|
||||
existingRaceDefinitionForRace.updateCourse(course);
|
||||
domainFactory.updateCourseWaypoints(course, event.getB().getPoints());
|
||||
} else {
|
||||
logger.log(Level.INFO, "Received course for non-existing race "+event.getC().getName()+". Creating RaceDefinition.");
|
||||
// create race redefinition
|
||||
|
||||
Reference in new issue
Block a user