浏览代码

Remove obsolete comment.

tags/1.0.33
ymlam 1年前
父节点
当前提交
dd51a14ea8
共有 1 个文件被更改,包括 0 次插入19 次删除
  1. +0
    -19
      src/main/java/altk/comm/engine/Broadcast.java

+ 0
- 19
src/main/java/altk/comm/engine/Broadcast.java 查看文件

@@ -1411,25 +1411,6 @@ public abstract class Broadcast
if (timeChanged) enforceOperationHours();
}

/**
* YML: At this time, we only enforce pause action when a broadcast is
* outside its operating hours. The current design is not satisfactory and needs
* a better solution.
*
* We are not automatically resuming a paused broadcast because the difference
* between intention of an operator-initiated pause and
* that of a clock pause needs clarification in their operation paradigm.
* Question is when or if we allow a operator-initiated pause be resumed
* when someone changes the operating hours of a broadcast in such a way
* that the broadcast is at once within its operasting hours. it may be
* be counter to the intention of the original operator.
*
* On the other hand, if that places the broadcast outside it operating hours,
* it is safer to immediately pause it.
*
* To add clarity, we may need to separate the PAUSE state into OPERATOR_PAUSE and CLOCK_PAUSE,
* and similarly PAUING state.
*/
void enforceOperationHours() {
if (state == BroadcastState.ABORTED) return;
if (!withinOperatingHours()) {


正在加载...
取消
保存