From 2a58e25bee3bf029e1696a443f23495e119c5855 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 12 May 2022 13:58:48 +0100 Subject: Security issues from sonar cloud fixes Issue-ID: POLICY-4168 Change-Id: Iedac6c95be452be81e8c73055193b4707735ef56 Signed-off-by: adheli.tavares --- .../reception/parameters/ReceptionHandlerParameters.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'reception/src') diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerParameters.java b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerParameters.java index 901c4968..8cb8ca44 100644 --- a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerParameters.java +++ b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerParameters.java @@ -1,7 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2018 Ericsson. All rights reserved. - * Copyright (C) 2019 Nordix Foundation. + * Modifications Copyright (C) 2019, 2022 Nordix Foundation. * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -42,10 +42,10 @@ import org.onap.policy.common.parameters.annotations.Valid; @Getter public class ReceptionHandlerParameters implements ParameterGroup { private @Setter String name; - private String receptionHandlerType; - private @ClassName String receptionHandlerClassName; - private String receptionHandlerConfigurationName; - private @Valid PluginHandlerParameters pluginHandlerParameters; + private final String receptionHandlerType; + private final @ClassName String receptionHandlerClassName; + private final String receptionHandlerConfigurationName; + private final @Valid PluginHandlerParameters pluginHandlerParameters; /** * Constructor for instantiating ReceptionHandlerParameters. -- cgit 1.2.3-korg