diff options
author | Taka Cho <takamune.cho@att.com> | 2020-06-29 17:12:35 -0400 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2020-06-30 13:25:22 +0000 |
commit | 8f6036afef6a2047000888925579cac75c9c87e1 (patch) | |
tree | bf678294cc3ad96eae92c7c3370d88702904e6a0 /controlloop/m2/util | |
parent | c2e0698897c060a91a5212f8f42d8aa2a9b96e65 (diff) |
sonar issue - drools apps
- elevate the visibility of readResolve
- test case without assertions
Issue-ID: POLICY-2616
Change-Id: Ifde4b8c5e1281f8625a1203858fbe0467defe353
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'controlloop/m2/util')
-rw-r--r-- | controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java b/controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java index c76a8c244..0d60b2598 100644 --- a/controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java +++ b/controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java @@ -78,7 +78,7 @@ public class DroolsSessionCommonSerializable implements Serializable { * @return the local named object (if available), or the deserialized * object */ - private Object readResolve() throws ObjectStreamException { + protected Object readResolve() throws ObjectStreamException { Adjunct adjunct = getAdjunct(); Object replacementObject; |