aboutsummaryrefslogtreecommitdiffstats
path: root/feature-pooling-dmaap/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-09-21 16:11:46 -0400
committerJim Hahn <jrh3@att.com>2018-09-21 16:11:46 -0400
commit4f77be6b3524aefe5763393babc2ffdcb64cf72e (patch)
tree64dc8ce1659f34aab6f17853ab3228d3d7e7dec0 /feature-pooling-dmaap/src
parent88d1b6ccc92a42c94c2cd462789a90fcf245efb2 (diff)
new sonar issues in drools-pdp
No "@Test" methods - renamed class from XxxTest to XxxMock. Changed functional call syntax. Change-Id: I954c2549705e80c00aed8ecbcb19f386cc8b0310 Issue-ID: POLICY-1137 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'feature-pooling-dmaap/src')
-rw-r--r--feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java2
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);
}
/**