Remove Sonar Vulnerabilit 94/69994/1
authorliamfallon <liam.fallon@ericsson.com>
Mon, 8 Oct 2018 14:58:34 +0000 (15:58 +0100)
committerliamfallon <liam.fallon@ericsson.com>
Mon, 8 Oct 2018 14:58:51 +0000 (15:58 +0100)
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>
core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/context/TaskSelectionExecutionContext.java

index 312c2a0..6305234 100644 (file)
@@ -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