use competitor now introduced in mark passing events instead of relying on a MarkPassing to be in the list

This commit is contained in:
Axel Uhl committed 2012-06-14 22:21:12 +02:00
1 parent 63ab846f0d
commit 53e4c62814
1 file changed
+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