Removed currently unused UNKNOWN state for regattas

This commit is contained in:
Steffen Schaefer committed 2015-07-20 17:31:32 +02:00
1 parent fde7ccd55a
commit 70b954ee13
2 files changed
+1 -4

No files matched your search

@@ -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;
}
@@ -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;