mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 14:38:45 +00:00
bug5831: adjust RaceContext.getFlagStateOrNull to also find an aborting flag in PRESCHEDULED state
This commit is contained in:
+1
-1
@@ -231,6 +231,7 @@ public class RaceContext {
|
||||
}
|
||||
break;
|
||||
case UNSCHEDULED:
|
||||
case PRESCHEDULED:
|
||||
// search for race aborting in last pass
|
||||
AbortingFlagFinder abortingFlagFinder = new AbortingFlagFinder(raceLog);
|
||||
RaceLogFlagEvent abortingFlagEvent = abortingFlagFinder.analyze();
|
||||
@@ -244,7 +245,6 @@ public class RaceContext {
|
||||
case FINISHING:
|
||||
case RUNNING:
|
||||
case SCHEDULED:
|
||||
case PRESCHEDULED:
|
||||
case STARTPHASE:
|
||||
case UNKNOWN:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user