mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
use competitor now introduced in mark passing events instead of relying on a MarkPassing to be in the list
This commit is contained in:
1 parent
63ab846f0d
commit
53e4c62814
1 file changed
+1
-2
+1
-2
@@ -833,8 +833,7 @@ public class RacingEventServiceImpl implements RacingEventService, RegattaListen
|
||||
|
||||
@Override
|
||||
public void markPassingReceived(Competitor competitor, Map<Waypoint, MarkPassing> oldMarkPassings, Iterable<MarkPassing> markPassings) {
|
||||
replicate(new UpdateMarkPassings(getRaceIdentifier(), markPassings.iterator().next().getCompetitor(),
|
||||
markPassings));
|
||||
replicate(new UpdateMarkPassings(getRaceIdentifier(), competitor, markPassings));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user