summaryrefslogtreecommitdiffstats
path: root/utils-test/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'utils-test/src/main/java')
-rw-r--r--utils-test/src/main/java/org/onap/policy/common/utils/io/Serializer.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils-test/src/main/java/org/onap/policy/common/utils/io/Serializer.java b/utils-test/src/main/java/org/onap/policy/common/utils/io/Serializer.java
index 31e0b850..600bbd39 100644
--- a/utils-test/src/main/java/org/onap/policy/common/utils/io/Serializer.java
+++ b/utils-test/src/main/java/org/onap/policy/common/utils/io/Serializer.java
@@ -124,6 +124,13 @@ public class Serializer {
oos.writeObject(object);
}
+ /**
+ * Read the object.
+ *
+ * @param ois input stream
+ * @return the object
+ * @throws IOException throws IO exception if cannot read
+ */
public Object readObject(ObjectInputStream ois) throws IOException {
try {
return ois.readObject();