From 775b5f0ebf4cce18e89da45927f929c20df41712 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 8 Oct 2018 15:58:34 +0100 Subject: 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 --- .../core/engine/executor/context/TaskSelectionExecutionContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/core-engine') 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 -- cgit 1.2.3-korg