aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/m2/util/src/main/java/org/onap
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/m2/util/src/main/java/org/onap')
-rw-r--r--controlloop/m2/util/src/main/java/org/onap/policy/util/DroolsSessionCommonSerializable.java5
1 files changed, 2 insertions, 3 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 d8501fea8..0834026a0 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
@@ -20,11 +20,9 @@
package org.onap.policy.util;
-import java.io.InvalidObjectException;
import java.io.ObjectStreamException;
import java.io.Serializable;
import java.util.HashMap;
-
import org.onap.policy.drools.core.PolicySession;
/**
@@ -116,7 +114,7 @@ public class DroolsSessionCommonSerializable implements Serializable {
session.setAdjunct(Adjunct.class, adjunct);
} else {
// found the adjunct -- return it
- adjunct = (Adjunct)adj;
+ adjunct = (Adjunct) adj;
//adjunct = Adjunct.class.cast(adj);
}
}
@@ -132,5 +130,6 @@ public class DroolsSessionCommonSerializable implements Serializable {
* warnings.
*/
private static class Adjunct extends HashMap<String, Object> {
+ private static final long serialVersionUID = 1L;
}
}