aboutsummaryrefslogtreecommitdiffstats
path: root/feature-server-pool/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'feature-server-pool/src/test')
-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