Sonar issues with visibility 35/116135/1
authorPamela Dragosh <pdragosh@research.att.com>
Fri, 4 Dec 2020 15:49:03 +0000 (10:49 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 4 Dec 2020 15:49:09 +0000 (10:49 -0500)
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>
main/src/main/java/org/onap/policy/distribution/main/parameters/PolicyForwarderConfigurationParameterGroup.java
reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderConfigurationParameterGroup.java
reception/src/main/java/org/onap/policy/distribution/reception/parameters/ReceptionHandlerConfigurationParameterGroup.java

index 41e9761..c3e58c3 100644 (file)
@@ -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.forwarding.PolicyForwarder;
  */
 public abstract class PolicyForwarderConfigurationParameterGroup extends ParameterGroupImpl {
 
-    public PolicyForwarderConfigurationParameterGroup(final String name) {
+    protected PolicyForwarderConfigurationParameterGroup(final String name) {
         super(name);
     }
 }
index 1a3551a..6327da5 100644 (file)
@@ -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);
     }
 }
index d43f085..4cf049d 100644 (file)
@@ -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);
     }
 }