added a few comments

Change-Id: Ica2d33945d1066c6430d2424d28e57f5b2d8dab0
This commit is contained in:
Axel Uhl committed 2018-04-29 22:43:25 +02:00
1 parent e786622a9a
commit be4be8ed38
3 files changed
+2 -2

No files matched your search

@@ -63,7 +63,6 @@ public class ExpeditionAllInOneAfterImportHandler {
this.stringMessages = stringMessages;
this.raceEntries = raceEntries;
this.regattaName = regattaName;
sailingService.getEventById(eventId, false, new DataLoadingCallback<EventDTO>() {
@Override
public void onSuccess(EventDTO result) {
@@ -151,7 +151,6 @@ public class ExpeditionAllInOneImportPanel extends Composite implements Regattas
if (response == null) {
Window.alert(StringMessages.INSTANCE.unexpectedErrorDuringFileImport());
} else if (response.hasEventId()) {
new ExpeditionAllInOneAfterImportHandler(response.getEventId(), response.getRegattaName(),
response.getLeaderboardName(), response.getLeaderboardGroupName(), response.getRaceEntries(), response.getGpsDeviceIds(),
response.getSensorDeviceIds(), response.getSensorFixImporterType(), sailingService,
@@ -247,6 +247,8 @@ public class ExpeditionAllInOneImporter {
final List<Triple<String, String, String>> raceNameRaceColumnNameFleetnameList = new ArrayList<>();
final List<DynamicTrackedRace> trackedRaces = new ArrayList<>();
final ExpeditionStartData startData = new ExpeditionCourseInferrer().getStartData(fileItem.getInputStream(), filename);
// TODO from the start times, suggest the user to split the session into one session per start, with start tracking at n minutes before start
// TODO optionally populate the session(s) with a start line if none is defined yet and if desired (flag!) add the pings
if (importMode == ImportMode.NEW_EVENT) {
leaderboardGroupName = filenameWithDateTimeSuffix;
regattaNameAndleaderboardName = filenameWithDateTimeSuffix;