You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/06/23 20:12:18 UTC
(commons-collections) 22/44: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit 6de20f9ddcc9e7aa8b6379ebd6c50f5950f98cd3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:02:42 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/MultiValueMap.java | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java b/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java
index eb44ec214..ac1fc045e 100644
--- a/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java
@@ -94,6 +94,13 @@ public class MultiValueMap<K, V> extends AbstractMapDecorator<K, Object> impleme
}
}
+ /**
+ * Deserializes an instance from an ObjectInputStream.
+ *
+ * @param in The source ObjectInputStream.
+ * @throws IOException Any of the usual Input/Output related exceptions.
+ * @throws ClassNotFoundException A class of a serialized object cannot be found.
+ */
private void readObject(final ObjectInputStream is) throws IOException, ClassNotFoundException {
is.defaultReadObject();
// ensure that the de-serialized class is a Collection, COLLECTIONS-580
@@ -475,7 +482,7 @@ public class MultiValueMap<K, V> extends AbstractMapDecorator<K, Object> impleme
}
/**
- * Read the map in using a custom routine.
+ * Deserializes the map in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream