summaryrefslogtreecommitdiffstats
path: root/models-interactions
diff options
context:
space:
mode:
Diffstat (limited to 'models-interactions')
-rw-r--r--models-interactions/model-actors/actor.xacml/src/main/java/org/onap/policy/controlloop/actor/xacml/DecisionOperation.java2
-rw-r--r--models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/XacmlSimulatorJaxRs.java2
2 files changed, 2 insertions, 2 deletions
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<DecisionResponse>
* @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<String> propertyNames) {
super(params, config, DecisionResponse.class, propertyNames);
this.config = (DecisionConfig) config;
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/XacmlSimulatorJaxRs.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/XacmlSimulatorJaxRs.java
index 54023f6e5..36964210b 100644
--- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/XacmlSimulatorJaxRs.java
+++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/XacmlSimulatorJaxRs.java
@@ -71,7 +71,7 @@ public class XacmlSimulatorJaxRs {
return func.apply(req);
}
- DecisionResponse response = new DecisionResponse();
+ var response = new DecisionResponse();
response.setMessage("unsupported action: " + req.getAction());
return response;
}