summaryrefslogtreecommitdiffstats
path: root/reception
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-12-04 10:49:03 -0500
committerPamela Dragosh <pdragosh@research.att.com>2020-12-04 10:49:09 -0500
commitf51afc97c0ae650038099096f9ab4acb97dd0a8e (patch)
tree70a11151be8533898ccb9bfa45feba34501b26bc /reception
parent9a6380da83c1acc73812c36961b43bb6289d9f8b (diff)
Sonar issues with visibility
S5993 Change the visibility of this constructor to "protected". Issue-ID: POLICY-2908 Change-Id: Id7b7d908eb687345f4d91b05869b3925c8694b05 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'reception')
-rw-r--r--reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java3
-rw-r--r--reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java
index 1a3551a8..6327da55 100644
--- a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java
+++ b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java
@@ -2,6 +2,7 @@
* ============LICENSE_START=======================================================
* Copyright (C) 2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2019 Nordix Foundation.
+ * Modifications Copyright (C) 2020 AT&T Corp.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +33,7 @@ import org.onap.policy.distribution.reception.decoding.PolicyDecoder;
*/
public abstract class PolicyDecoderConfigurationParameterGroup extends ParameterGroupImpl {
- public PolicyDecoderConfigurationParameterGroup(final String name) {
+ protected PolicyDecoderConfigurationParameterGroup(final String name) {
super(name);
}
}
diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java
index d43f0856..4cf049dc 100644
--- a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java
+++ b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java
@@ -2,6 +2,7 @@
* ============LICENSE_START=======================================================
* Copyright (C) 2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2019 Nordix Foundation.
+ * Modifications Copyright (C) 2020 AT&T Corp.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +31,7 @@ import org.onap.policy.distribution.reception.handling.ReceptionHandler;
*/
public abstract class ReceptionHandlerConfigurationParameterGroup extends ParameterGroupImpl {
- public ReceptionHandlerConfigurationParameterGroup(final String name) {
+ protected ReceptionHandlerConfigurationParameterGroup(final String name) {
super(name);
}
}