mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: remove final from UpdatableTimerTask methods
parent
b6b2663cf3
commit
07aa22ed1d
|
@ -39,7 +39,7 @@ public class UpdatableTimerTask extends TimerTask {
|
||||||
this.oldP = oldP;
|
this.oldP = oldP;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void updateTimer() {
|
public void updateTimer() {
|
||||||
Long p = period.get();
|
Long p = period.get();
|
||||||
Objects.requireNonNull(p);
|
Objects.requireNonNull(p);
|
||||||
if (oldP == null || !oldP.equals(p)) {
|
if (oldP == null || !oldP.equals(p)) {
|
||||||
|
@ -54,8 +54,8 @@ public class UpdatableTimerTask extends TimerTask {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void cancelTimer() {
|
public void cancelTimer() {
|
||||||
cancel();
|
super.cancel();
|
||||||
timer.cancel();
|
timer.cancel();
|
||||||
timer.purge();
|
timer.purge();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue