diff options
author | 2021-02-10 17:41:25 -0500 | |
---|---|---|
committer | 2021-02-10 17:43:58 -0500 | |
commit | 26374a9c185b29d85b12611735469e8543415031 (patch) | |
tree | 7603305c80ac88e69a681ea719a9d5b3d13f599d /feature-pooling-dmaap/src/main | |
parent | c3c83896d877602ead85c32215761b3d3555facb (diff) |
More sonars in drools-pdp
Addressed the following issues:
- log user-controlled data; moved the "NOSONAR" to a different line
- make constructors protected
Issue-ID: POLICY-2909
Change-Id: Ic69c100af777779e791c38cc444dd2ea726258f2
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'feature-pooling-dmaap/src/main')
-rw-r--r-- | feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java index 853c24d4..66728ee2 100644 --- a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java +++ b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/State.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2018, 2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018, 2020-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,7 +59,7 @@ public abstract class State { * * @param mgr pooling manager */ - public State(PoolingManager mgr) { + protected State(PoolingManager mgr) { this.mgr = mgr; } |