diff options
author | 2021-06-18 14:47:59 -0400 | |
---|---|---|
committer | 2021-06-18 14:51:36 -0400 | |
commit | 3dbcd3ceb1f71626d1e35da01fd3ecbaa7fb58d7 (patch) | |
tree | 509bcebb2bb91c66838b010ae9325127551724ed /policy-core/src/test/java/org/onap | |
parent | d140a8d92f53bf4e51d4c69c570a68e2dc3c30fd (diff) |
Fix new checkstyle issues in drools-pdp
The new version of checkstyle identified new issues. Fixed those.
Also addressed sonar "var" issues.
Issue-ID: POLICY-3289
Change-Id: I3a18d3988202dca6f3c87f2aa1810bf803a9d14d
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-core/src/test/java/org/onap')
-rw-r--r-- | policy-core/src/test/java/org/onap/policy/drools/core/lock/AlwaysLockBaseTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/policy-core/src/test/java/org/onap/policy/drools/core/lock/AlwaysLockBaseTest.java b/policy-core/src/test/java/org/onap/policy/drools/core/lock/AlwaysLockBaseTest.java index 1091b260..b5f7a64c 100644 --- a/policy-core/src/test/java/org/onap/policy/drools/core/lock/AlwaysLockBaseTest.java +++ b/policy-core/src/test/java/org/onap/policy/drools/core/lock/AlwaysLockBaseTest.java @@ -40,6 +40,7 @@ public abstract class AlwaysLockBaseTest<T extends LockImpl> { protected T lock; @Test + @SuppressWarnings("unchecked") public void testSerializable() throws Exception { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { |