From ad2cfb201d37857a51b350bf6b2e5e3ab7adf19a Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 12 Mar 2020 15:49:01 -0400 Subject: Move code from drools-apps to common Extracted code from ControlLoopUtils to create a new class in common, PropertyObjectUtils. Fixed a deprecated method invocation in a junit. Fixed an object casting (i.e., sonar) issue in SCO. Issue-ID: POLICY-2305 Signed-off-by: Jim Hahn Change-Id: I331a47297f67097ea6986be125ef93cd1954b5ff --- .../onap/policy/common/endpoints/listeners/MessageTypeDispatcher.java | 2 +- .../org/onap/policy/common/endpoints/listeners/RequestIdDispatcher.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'policy-endpoints/src/main') diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/MessageTypeDispatcher.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/MessageTypeDispatcher.java index 195a7eec..31e670a0 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/MessageTypeDispatcher.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/MessageTypeDispatcher.java @@ -36,7 +36,7 @@ public class MessageTypeDispatcher extends JsonListener { /** * Name of the message field, which may be hierarchical. */ - private final String[] messageFieldNames; + private final Object[] messageFieldNames; /** * Name of the message field, joined with "." - for logging. diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/RequestIdDispatcher.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/RequestIdDispatcher.java index fcf9c9a9..e4686c1e 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/RequestIdDispatcher.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/listeners/RequestIdDispatcher.java @@ -43,7 +43,7 @@ public class RequestIdDispatcher extends ScoListener { /** * Name of the request id field, which may be hierarchical. */ - private final String[] requestIdFieldNames; + private final Object[] requestIdFieldNames; /** * Listeners for autonomous messages. -- cgit 1.2.3-korg