mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 11:23:50 +00:00
added a comment that strangely only was in prod
This commit is contained in:
1 parent
69914b2533
commit
9d120cfdd7
1 file changed
+1
@@ -113,6 +113,7 @@ public class RacingEventServiceImpl implements RacingEventService {
|
||||
trackers.add(tracker);
|
||||
String eventName = tracker.getEvent().getName();
|
||||
Event eventWithName = eventsByName.get(eventName);
|
||||
// TODO we assume here that the event name is unique which necessesitates adding the boat class name to it in EventImpl constructor
|
||||
if (eventWithName != null) {
|
||||
if (eventWithName != tracker.getEvent()) {
|
||||
throw new RuntimeException("Internal error. Two Event objects with equal name "+eventName);
|
||||
|
||||
Reference in new issue
Block a user