summaryrefslogtreecommitdiffstats
path: root/feature-distributed-locking/src
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-03-14 21:48:25 +0000
committeradheli.tavares <adheli.tavares@est.tech>2024-03-15 08:39:39 +0000
commit12142469280ab15d3c38802e6be7d7676435c2b9 (patch)
tree7b2803fb67ecd28c3f2d2c099c5ca35a55fe0627 /feature-distributed-locking/src
parente51bea1cd5dff02cd00ab93fd4a7f5726fa9a2fb (diff)
Make drools-pdp work with drools and java versions compatible
with current DRL rules files syntax. Issue-ID: POLICY-4857 Change-Id: If4b385bdef865d07114b8ea0e69abb4589f3a97b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'feature-distributed-locking/src')
-rw-r--r--feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java b/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
index 74a3c761..2e173cf0 100644
--- a/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
+++ b/feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
@@ -48,7 +48,6 @@ import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
-import java.io.Serial;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
@@ -967,7 +966,6 @@ class DistributedLockManagerTest {
protected DistributedLock makeLock(LockState state, String resourceId, String ownerKey, int holdSec,
LockCallback callback) {
return new DistributedLock(state, resourceId, ownerKey, holdSec, callback, feature) {
- @Serial
private static final long serialVersionUID = 1L;
@Override
@@ -1352,7 +1350,6 @@ class DistributedLockManagerTest {
protected DistributedLock makeLock(LockState state, String resourceId, String ownerKey, int holdSec,
LockCallback callback) {
return new DistributedLock(state, resourceId, ownerKey, holdSec, callback, feature) {
- @Serial
private static final long serialVersionUID = 1L;
private int ntimes = 0;
@@ -1721,7 +1718,6 @@ class DistributedLockManagerTest {
LockCallback callback) {
return new DistributedLock(state, resourceId, ownerKey, holdSec, callback, feature) {
- @Serial
private static final long serialVersionUID = 1L;
private boolean checked = false;