From 62c469dc0045e81979ac14aecb105f2150592c3a Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 20 Aug 2021 16:39:17 -0400 Subject: Fix sonars in models Fixed: - use "var" - change constructor to protected - add equals() to subclasses Issue-ID: POLICY-3094 Change-Id: Ia62716b1a740b4475e54e496330f50aa7fb404d7 Signed-off-by: Jim Hahn --- .../java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models-interactions/model-actors') diff --git a/models-interactions/model-actors/actor.xacml/src/main/java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java b/models-interactions/model-actors/actor.xacml/src/main/java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java index 9fbb3e268..0792dc6ea 100644 --- a/models-interactions/model-actors/actor.xacml/src/main/java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java +++ b/models-interactions/model-actors/actor.xacml/src/main/java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java @@ -53,7 +53,7 @@ public abstract class DecisionOperation extends HttpOperation * @param config configuration for this operation * @param propertyNames names of properties required by this operation */ - public DecisionOperation(ControlLoopOperationParams params, HttpConfig config, + protected DecisionOperation(ControlLoopOperationParams params, HttpConfig config, List propertyNames) { super(params, config, DecisionResponse.class, propertyNames); this.config = (DecisionConfig) config; -- cgit 1.2.3-korg