summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-10-08 15:58:34 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-10-08 15:58:51 +0100
commit775b5f0ebf4cce18e89da45927f929c20df41712 (patch)
treee6afbb34e53efda8199cdbd946291eac3cd9b8ae
parentfb0ea8cd5d4a7b4a1c9731b45839be1f291455bf (diff)
Remove Sonar Vulnerabilit
The coverage review for teh Apex engine introduced a vulnerability flag in Sonar. This review fixes that vulnerability Change-Id: Ie90c61a22c79604513ff2393a768a22ec9542484 Issue-ID: POLICY-1034 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
-rw-r--r--core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java b/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java
index 312c2a058..63052348a 100644
--- a/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java
+++ b/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java
@@ -76,7 +76,7 @@ public class TaskSelectionExecutionContext {
* sets this field in its logic prior to executing and the Apex engine executes this task as the
* task for this state.
*/
- public AxArtifactKey selectedTask;
+ public final AxArtifactKey selectedTask;
/**
* Logger for task selection execution, task selection logic can use this field to access and