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 e8911d736541715b5e108d11ad6b1cc279699318 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jun 23 15:57:27 2024 -0400 Javadoc --- .../org/apache/commons/collections4/bidimap/DualTreeBidiMap.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java index eb1a7a23a..4b63e1ba5 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java @@ -381,6 +381,13 @@ public class DualTreeBidiMap<K, V> extends AbstractDualBidiMap<K, V> return hm.lastKey(); } + /** + * 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 in) throws IOException, ClassNotFoundException { in.defaultReadObject(); normalMap = new TreeMap<>(comparator);