summaryrefslogtreecommitdiffstats
path: root/feature-server-pool/src/test/java
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-08-31 11:07:37 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-31 11:07:37 +0000
commit7dc71c3d0aedb322aff0cdaaa84340354c41b089 (patch)
treebce137893d9a0c1711b18344ed830af841e565b9 /feature-server-pool/src/test/java
parent22fda392c020fb6381afcc645554fd01636661ed (diff)
parent8fe27a3bf0e13d0188bc209991c07a9bcfab44d3 (diff)
Merge "Fix sonars in server-pool"
Diffstat (limited to 'feature-server-pool/src/test/java')
-rw-r--r--feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Adapter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Adapter.java b/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Adapter.java
index 22404605..9fa54608 100644
--- a/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Adapter.java
+++ b/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Adapter.java
@@ -133,6 +133,7 @@ public abstract class Adapter {
// but a new copy of class 'AdapterImpl'
Adapter adapter = (Adapter) classLoader.loadClass(
"org.onap.policy.drools.serverpool.AdapterImpl")
+ .getDeclaredConstructor()
.newInstance();
// initialize the adapter