mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Added a RC servlet for competitors, The Competitors are now called over the servlet for a race. It is now needed anymore to restart the tablet, when a tracked race is connected
This commit is contained in:
1 parent
1f600236e5
commit
5440d822e2
18 files changed
+266
-74
No files matched your search
-3
@@ -1,6 +1,5 @@
|
||||
package com.sap.sailing.domain.base.racegroup;
|
||||
|
||||
import com.sap.sailing.domain.base.Competitor;
|
||||
import com.sap.sailing.domain.common.Named;
|
||||
import com.sap.sailing.domain.racelog.RaceLog;
|
||||
|
||||
@@ -13,6 +12,4 @@ import com.sap.sailing.domain.racelog.RaceLog;
|
||||
*/
|
||||
public interface RaceCell extends Named {
|
||||
RaceLog getRaceLog();
|
||||
|
||||
Iterable<Competitor> getCompetitors();
|
||||
}
|
||||
+1
-9
@@ -1,6 +1,5 @@
|
||||
package com.sap.sailing.domain.base.racegroup.impl;
|
||||
|
||||
import com.sap.sailing.domain.base.Competitor;
|
||||
import com.sap.sailing.domain.base.racegroup.RaceCell;
|
||||
import com.sap.sailing.domain.common.impl.NamedImpl;
|
||||
import com.sap.sailing.domain.racelog.RaceLog;
|
||||
@@ -9,12 +8,10 @@ public class RaceCellImpl extends NamedImpl implements RaceCell {
|
||||
private static final long serialVersionUID = 971598420407273594L;
|
||||
|
||||
private RaceLog raceLog;
|
||||
private Iterable<Competitor> competitors;
|
||||
|
||||
public RaceCellImpl(String name, RaceLog raceLog, Iterable<Competitor> competitors) {
|
||||
public RaceCellImpl(String name, RaceLog raceLog) {
|
||||
super(name);
|
||||
this.raceLog = raceLog;
|
||||
this.competitors = competitors;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -22,9 +19,4 @@ public class RaceCellImpl extends NamedImpl implements RaceCell {
|
||||
return raceLog;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<Competitor> getCompetitors() {
|
||||
return competitors;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user