diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-12-04 09:10:02 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-12-04 09:10:07 -0500 |
commit | 0bd8066788769079f098f6f831919b2c639520a0 (patch) | |
tree | 2faade524f8903dac7c0f73d75e1509d7cbc2f74 /applications/common/src/main | |
parent | 8280c67898f8c858792c31724f885c0e9287a2b3 (diff) |
Fix sonar issues with visibility
S5993 Change the visibility of this constructor to "protected".
Issue-ID: POLICY-2912
Change-Id: I2fd9fcd3162c8bf28ba0315939ef259356f442db
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/common/src/main')
3 files changed, 4 insertions, 4 deletions
diff --git a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePropertyTypeBase.java b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePropertyTypeBase.java index b98ef9f0..31339784 100644 --- a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePropertyTypeBase.java +++ b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/matchable/MatchablePropertyTypeBase.java @@ -32,11 +32,11 @@ public abstract class MatchablePropertyTypeBase<T> implements MatchablePropertyT private ToscaProperty toscaProperty; private ToscaSchemaDefinition toscaSchema; - public MatchablePropertyTypeBase(ToscaProperty inProperty) { + protected MatchablePropertyTypeBase(ToscaProperty inProperty) { this.toscaProperty = inProperty; } - public MatchablePropertyTypeBase(ToscaSchemaDefinition inSchema) { + protected MatchablePropertyTypeBase(ToscaSchemaDefinition inSchema) { this.toscaSchema = inSchema; } diff --git a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdOnapPip.java b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdOnapPip.java index 753daa2b..4cf23652 100644 --- a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdOnapPip.java +++ b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdOnapPip.java @@ -70,7 +70,7 @@ public abstract class StdOnapPip extends StdConfigurableEngine { protected String issuer; protected boolean shutdown = false; - public StdOnapPip() { + protected StdOnapPip() { super(); } diff --git a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdXacmlApplicationServiceProvider.java b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdXacmlApplicationServiceProvider.java index 465e3f58..28b861d2 100644 --- a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdXacmlApplicationServiceProvider.java +++ b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/std/StdXacmlApplicationServiceProvider.java @@ -68,7 +68,7 @@ public abstract class StdXacmlApplicationServiceProvider implements XacmlApplica private PDPEngine pdpEngine = null; private Map<ToscaPolicy, Path> mapLoadedPolicies = new HashMap<>(); - public StdXacmlApplicationServiceProvider() { + protected StdXacmlApplicationServiceProvider() { super(); } |