From 8f6036afef6a2047000888925579cac75c9c87e1 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Mon, 29 Jun 2020 17:12:35 -0400 Subject: 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 --- .../main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controlloop/m2/util/src/main') 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; -- cgit 1.2.3-korg