diff options
Diffstat (limited to 'feature-pooling-dmaap/src/main/java/org')
-rw-r--r-- | feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java index edffb3fe..3d939392 100644 --- a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java +++ b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java @@ -86,7 +86,7 @@ public abstract class State { * Cancels the timers added by this state. */ public final void cancelTimers() { - timers.forEach(timer -> timer.cancel()); + timers.forEach(CancellableScheduledTask::cancel); } /** |