mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
Merge branch 'master' into gpsfixstore-independent-of-race
Conflicts were mainly around the introduction of GPSFixStore combined with the introduction of raceName in the SwissTiming connector and the StartList coming from Manage2Sail Conflicts: java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/SwissTimingFactory.java java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingFactoryImpl.java java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingRaceTrackerImpl.java java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingTrackingConnectivityParameters.java java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/SailingServiceImplMock.java java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/panels/AbstractFilterablePanel.java java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
This commit is contained in:
commit
b576a7a141
43 files changed
+782
-264
No files matched your search
+3
-3
@@ -988,10 +988,10 @@ public class RacingEventServiceImpl implements RacingEventServiceWithTestSupport
|
||||
}
|
||||
trackers.add(tracker);
|
||||
}
|
||||
// TODO we assume here that the event name is unique which necessitates adding the boat class name to it in EventImpl constructor
|
||||
// TODO we assume here that the event name is unique which necessitates adding the boat class name to it in RegattaImpl constructor
|
||||
String regattaName = tracker.getRegatta().getName();
|
||||
Regatta regattaWithName = regattasByName.get(regattaName);
|
||||
// TODO we assume here that the event name is unique which necessitates adding the boat class name to it in EventImpl constructor
|
||||
// TODO we assume here that the event name is unique which necessitates adding the boat class name to it in RegattaImpl constructor
|
||||
if (regattaWithName != null) {
|
||||
if (regattaWithName != tracker.getRegatta()) {
|
||||
if (Util.isEmpty(regattaWithName.getAllRaces())) {
|
||||
@@ -999,7 +999,7 @@ public class RacingEventServiceImpl implements RacingEventServiceWithTestSupport
|
||||
regattasByName.remove(regattaName);
|
||||
cacheAndReplicateDefaultRegatta(tracker.getRegatta());
|
||||
} else {
|
||||
throw new RuntimeException("Internal error. Two Event objects with equal name " + regattaName);
|
||||
throw new RuntimeException("Internal error. Two regatta objects with equal name " + regattaName);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user