mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 14:57:12 +00:00
Removed currently unused UNKNOWN state for regattas
This commit is contained in:
1 parent
fde7ccd55a
commit
70b954ee13
2 files changed
+1
-4
No files matched your search
-3
@@ -325,9 +325,6 @@ public abstract class AbstractEventActivity<PLACE extends AbstractEventPlace> ex
|
||||
if(ctx.getRegatta().getState() == RegattaState.RUNNING) {
|
||||
return true;
|
||||
}
|
||||
if(ctx.getRegatta().getState() != RegattaState.UNKNOWN) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return ctx.getEventDTO().getState() == EventState.RUNNING;
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import com.sap.sailing.gwt.ui.shared.general.LabelType;
|
||||
public interface HasRegattaMetadata {
|
||||
|
||||
public enum RegattaState {
|
||||
UPCOMING(LabelType.UPCOMING), PROGRESS(LabelType.PROGRESS), RUNNING(LabelType.LIVE), FINISHED(LabelType.FINISHED), UNKNOWN(LabelType.NONE);
|
||||
UPCOMING(LabelType.UPCOMING), PROGRESS(LabelType.PROGRESS), RUNNING(LabelType.LIVE), FINISHED(LabelType.FINISHED);
|
||||
|
||||
private final LabelType stateMarker;
|
||||
|
||||
|
||||
Reference in new issue
Block a user