From: liamfallon Date: Mon, 8 Oct 2018 14:58:34 +0000 (+0100) Subject: Remove Sonar Vulnerabilit X-Git-Tag: 2.0.0~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=775b5f0ebf4cce18e89da45927f929c20df41712;p=policy%2Fapex-pdp.git 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 --- 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