Pārlūkot izejas kodu

Remove obsolete comment.

tags/1.0.33
ymlam pirms 1 gada
vecāks
revīzija
dd51a14ea8
1 mainītis faili ar 0 papildinājumiem un 19 dzēšanām
  1. +0
    -19
      src/main/java/altk/comm/engine/Broadcast.java

+ 0
- 19
src/main/java/altk/comm/engine/Broadcast.java Parādīt failu

@@ -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()) {


Notiek ielāde…
Atcelt
Saglabāt