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:11:56 UTC
(commons-collections) branch master updated (c30df24ff -> 7b3dab212)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
from c30df24ff Deprecate StringKeyAnalyzer.StringKeyAnalyzer() in favor of StringKeyAnalyzer.INSTANCE
new 0893f056d Javadoc
new 67a5466bd Javadoc
new 9c8db3524 Javadoc
new ac53015f8 Javadoc
new f132cd064 Javadoc
new 400833e7a Javadoc
new 9da464a2a Javadoc
new e8911d736 Javadoc
new 09854e889 Javadoc
new 24cc228ca Javadoc
new 1de53c140 Javadoc
new 685fbc851 Javadoc
new 237fc0bff Javadoc
new d074c2d87 Javadoc
new f11f3699e Javadoc
new aab82d37d Javadoc
new 695f2fbaa Javadoc
new 967921444 Javadoc
new 09c6038d0 Javadoc
new 0add2eabc Javadoc
new e713a38de Javadoc
new 6de20f9dd Javadoc
new 5c1206fc2 Javadoc
new d010f1df6 Javadoc
new dc6c4b24c Javadoc
new 9fa70d945 Javadoc
new 6b1e2fd40 Javadoc
new 6c11a3422 Javadoc
new 39b3e09bf Javadoc
new 50cdd26c0 Javadoc
new 5121479f3 Javadoc
new c1287cad6 Javadoc
new 47f02555d Javadoc
new 0d3544b5e Javadoc
new a4ccbb520 Javadoc
new 01736f609 Javadoc
new c45b53e29 Javadoc
new 108bac120 Javadoc
new b32379cef Javadoc
new d94d5c2b1 Javadoc
new dacfd6492 Javadoc
new ba4cabc42 Javadoc
new c3debe88d Javadoc
new 7b3dab212 Javadoc
The 44 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../commons/collections4/bag/CollectionSortedBag.java | 2 +-
.../org/apache/commons/collections4/bag/HashBag.java | 2 +-
.../org/apache/commons/collections4/bag/TreeBag.java | 2 +-
.../commons/collections4/bag/UnmodifiableBag.java | 2 +-
.../collections4/bag/UnmodifiableSortedBag.java | 2 +-
.../commons/collections4/bidimap/DualHashBidiMap.java | 7 +++++++
.../collections4/bidimap/DualLinkedHashBidiMap.java | 7 +++++++
.../commons/collections4/bidimap/DualTreeBidiMap.java | 7 +++++++
.../commons/collections4/bidimap/TreeBidiMap.java | 2 +-
.../list/AbstractSerializableListDecorator.java | 2 +-
.../commons/collections4/map/CaseInsensitiveMap.java | 2 +-
.../apache/commons/collections4/map/DefaultedMap.java | 2 +-
.../apache/commons/collections4/map/FixedSizeMap.java | 2 +-
.../commons/collections4/map/FixedSizeSortedMap.java | 2 +-
.../org/apache/commons/collections4/map/Flat3Map.java | 2 +-
.../apache/commons/collections4/map/HashedMap.java | 2 +-
.../org/apache/commons/collections4/map/LRUMap.java | 2 +-
.../org/apache/commons/collections4/map/LazyMap.java | 2 +-
.../apache/commons/collections4/map/LinkedMap.java | 2 +-
.../commons/collections4/map/ListOrderedMap.java | 2 +-
.../apache/commons/collections4/map/MultiKeyMap.java | 2 +-
.../commons/collections4/map/MultiValueMap.java | 9 ++++++++-
.../commons/collections4/map/PassiveExpiringMap.java | 2 +-
.../commons/collections4/map/PredicatedMap.java | 2 +-
.../collections4/map/ReferenceIdentityMap.java | 2 +-
.../apache/commons/collections4/map/ReferenceMap.java | 2 +-
.../commons/collections4/map/TransformedMap.java | 2 +-
.../commons/collections4/map/UnmodifiableMap.java | 2 +-
.../collections4/map/UnmodifiableOrderedMap.java | 2 +-
.../collections4/map/UnmodifiableSortedMap.java | 2 +-
.../collections4/multimap/ArrayListValuedHashMap.java | 19 +++++++++++++------
.../collections4/multimap/HashSetValuedHashMap.java | 19 +++++++++++++------
.../commons/collections4/multiset/HashMultiSet.java | 2 +-
.../collections4/multiset/UnmodifiableMultiSet.java | 2 +-
.../commons/collections4/queue/CircularFifoQueue.java | 2 +-
.../commons/collections4/queue/UnmodifiableQueue.java | 2 +-
.../set/AbstractSerializableSetDecorator.java | 2 +-
.../collections4/set/UnmodifiableNavigableSet.java | 2 +-
.../collections4/set/UnmodifiableSortedSet.java | 2 +-
.../collections4/splitmap/TransformedSplitMap.java | 2 +-
.../collections4/trie/AbstractPatriciaTrie.java | 16 ++++++++++------
.../commons/collections4/trie/PatriciaTrie.java | 6 ++++++
.../list/DefaultAbstractLinkedListForJava21Test.java | 7 +++++++
.../apache/commons/collections4/map/IdentityMap.java | 6 +++++-
44 files changed, 117 insertions(+), 54 deletions(-)
(commons-collections) 25/44: Javadoc
Posted by gg...@apache.org.
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 dc6c4b24cacdff9ac2a6c960adffab0bcd796382
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:03:49 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/ReferenceIdentityMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java b/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java
index 2192b575c..251343f9d 100644
--- a/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java
@@ -228,7 +228,7 @@ public class ReferenceIdentityMap<K, V> extends AbstractReferenceMap<K, V> imple
}
/**
- * 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
(commons-collections) 05/44: Javadoc
Posted by gg...@apache.org.
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 f132cd0649559e49b9919b1928b1d688660f3615
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:56:21 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java
index 72343cc32..9d7008256 100644
--- a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java
@@ -101,7 +101,7 @@ public final class UnmodifiableSortedBag<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 31/44: Javadoc
Posted by gg...@apache.org.
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 5121479f3972c6230a0172a325c4db1cc00e1975
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:06:02 2024 -0400
Javadoc
---
.../collections4/multimap/ArrayListValuedHashMap.java | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMap.java b/src/main/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMap.java
index bfd5da638..00913c728 100644
--- a/src/main/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMap.java
+++ b/src/main/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMap.java
@@ -118,10 +118,17 @@ public class ArrayListValuedHashMap<K, V> extends AbstractListValuedMap<K, V>
return new ArrayList<>(initialListCapacity);
}
- private void readObject(final ObjectInputStream ois) throws IOException, ClassNotFoundException {
- ois.defaultReadObject();
+ /**
+ * 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();
setMap(new HashMap<>());
- doReadObject(ois);
+ doReadObject(in);
}
/**
@@ -134,9 +141,9 @@ public class ArrayListValuedHashMap<K, V> extends AbstractListValuedMap<K, V>
}
}
- private void writeObject(final ObjectOutputStream oos) throws IOException {
- oos.defaultWriteObject();
- doWriteObject(oos);
+ private void writeObject(final ObjectOutputStream out) throws IOException {
+ out.defaultWriteObject();
+ doWriteObject(out);
}
}
(commons-collections) 29/44: Javadoc
Posted by gg...@apache.org.
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 39b3e09bfe19fa5b42f5d88b758dc24a53cfefcb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:05:18 2024 -0400
Javadoc
---
.../org/apache/commons/collections4/map/UnmodifiableOrderedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java
index c4295c723..41ec704e0 100644
--- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java
@@ -114,7 +114,7 @@ public final class UnmodifiableOrderedMap<K, V> extends AbstractOrderedMapDecora
}
/**
- * Read the map in using a custom routine.
+ * Deseializes the map in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 38/44: Javadoc
Posted by gg...@apache.org.
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 108bac12043ea49864d5a7ead2ba7d921f493350
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:08:39 2024 -0400
Javadoc
---
.../org/apache/commons/collections4/set/UnmodifiableNavigableSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java b/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java
index cf4b74e00..bfc12038f 100644
--- a/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java
+++ b/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java
@@ -129,7 +129,7 @@ public final class UnmodifiableNavigableSet<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 32/44: Javadoc
Posted by gg...@apache.org.
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 c1287cad61ff4855139937889aa85f4c44817163
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:06:25 2024 -0400
Javadoc
---
.../collections4/multimap/HashSetValuedHashMap.java | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/multimap/HashSetValuedHashMap.java b/src/main/java/org/apache/commons/collections4/multimap/HashSetValuedHashMap.java
index c9830c3cb..de891b355 100644
--- a/src/main/java/org/apache/commons/collections4/multimap/HashSetValuedHashMap.java
+++ b/src/main/java/org/apache/commons/collections4/multimap/HashSetValuedHashMap.java
@@ -117,15 +117,22 @@ public class HashSetValuedHashMap<K, V> extends AbstractSetValuedMap<K, V>
return new HashSet<>(initialSetCapacity);
}
- private void readObject(final ObjectInputStream ois) throws IOException, ClassNotFoundException {
- ois.defaultReadObject();
+ /**
+ * 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();
setMap(new HashMap<>());
- doReadObject(ois);
+ doReadObject(in);
}
- private void writeObject(final ObjectOutputStream oos) throws IOException {
- oos.defaultWriteObject();
- doWriteObject(oos);
+ private void writeObject(final ObjectOutputStream out) throws IOException {
+ out.defaultWriteObject();
+ doWriteObject(out);
}
}
(commons-collections) 03/44: Javadoc
Posted by gg...@apache.org.
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 9c8db3524d417eba00a14b86b90d723f519aade5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:55:36 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/bag/TreeBag.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bag/TreeBag.java b/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
index 32488e3c4..2d6945372 100644
--- a/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
@@ -116,7 +116,7 @@ public class TreeBag<E> extends AbstractMapBag<E> implements SortedBag<E>, Seria
}
/**
- * Read the bag in using a custom routine.
+ * Deserializes the bag in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 41/44: Javadoc
Posted by gg...@apache.org.
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 dacfd649222885db956c584c76ac91a9a24dfbf0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:09:46 2024 -0400
Javadoc
---
.../commons/collections4/trie/AbstractPatriciaTrie.java | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/trie/AbstractPatriciaTrie.java b/src/main/java/org/apache/commons/collections4/trie/AbstractPatriciaTrie.java
index 7506c3eac..c6ae5ab5a 100644
--- a/src/main/java/org/apache/commons/collections4/trie/AbstractPatriciaTrie.java
+++ b/src/main/java/org/apache/commons/collections4/trie/AbstractPatriciaTrie.java
@@ -2054,16 +2054,20 @@ public abstract class AbstractPatriciaTrie<K, V> extends AbstractBitwiseTrie<K,
}
/**
- * Reads the content of the stream.
+ * 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.
*/
@SuppressWarnings("unchecked") // This will fail at runtime if the stream is incorrect
- private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException {
- stream.defaultReadObject();
+ private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException {
+ in.defaultReadObject();
root = new TrieEntry<>(null, null, -1);
- final int size = stream.readInt();
+ final int size = in.readInt();
for (int i = 0; i < size; i++) {
- final K k = (K) stream.readObject();
- final V v = (V) stream.readObject();
+ final K k = (K) in.readObject();
+ final V v = (V) in.readObject();
put(k, v);
}
}
(commons-collections) 26/44: Javadoc
Posted by gg...@apache.org.
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 9fa70d9459cf57caba592252718f1d21cd139c87
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:04:12 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/ReferenceMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java b/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java
index 91575b9e5..7c5a12482 100644
--- a/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java
@@ -174,7 +174,7 @@ public class ReferenceMap<K, V> extends AbstractReferenceMap<K, V> implements Se
}
/**
- * 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
(commons-collections) 04/44: Javadoc
Posted by gg...@apache.org.
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 ac53015f84a44f93bd501479a82a6d1a1e393ec1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:55:58 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/bag/UnmodifiableBag.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableBag.java b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableBag.java
index b870b414b..9c8f8781c 100644
--- a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableBag.java
@@ -104,7 +104,7 @@ public final class UnmodifiableBag<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 43/44: Javadoc
Posted by gg...@apache.org.
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 c3debe88d9ef3440f754a8615baf751c677959bc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:10:32 2024 -0400
Javadoc
---
.../collections4/list/DefaultAbstractLinkedListForJava21Test.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/test/java/org/apache/commons/collections4/list/DefaultAbstractLinkedListForJava21Test.java b/src/test/java/org/apache/commons/collections4/list/DefaultAbstractLinkedListForJava21Test.java
index e831ede3e..cbb36ca2c 100644
--- a/src/test/java/org/apache/commons/collections4/list/DefaultAbstractLinkedListForJava21Test.java
+++ b/src/test/java/org/apache/commons/collections4/list/DefaultAbstractLinkedListForJava21Test.java
@@ -37,6 +37,13 @@ public class DefaultAbstractLinkedListForJava21Test<E> extends AbstractListTest<
init();
}
+ /**
+ * 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();
doReadObject(in);
(commons-collections) 19/44: Javadoc
Posted by gg...@apache.org.
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 09c6038d0ef35ec07056bc63e47848ba6150acb4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:01:35 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/LinkedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/LinkedMap.java b/src/main/java/org/apache/commons/collections4/map/LinkedMap.java
index 0700d2c1e..a504472d0 100644
--- a/src/main/java/org/apache/commons/collections4/map/LinkedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/LinkedMap.java
@@ -287,7 +287,7 @@ public class LinkedMap<K, V> extends AbstractLinkedMap<K, V> implements Serializ
}
/**
- * 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
(commons-collections) 36/44: Javadoc
Posted by gg...@apache.org.
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 01736f6097e6e6cfcb27d43642b9eb6d6d1a3933
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:07:55 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/queue/UnmodifiableQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/queue/UnmodifiableQueue.java b/src/main/java/org/apache/commons/collections4/queue/UnmodifiableQueue.java
index 6ced85bc4..1a1439684 100644
--- a/src/main/java/org/apache/commons/collections4/queue/UnmodifiableQueue.java
+++ b/src/main/java/org/apache/commons/collections4/queue/UnmodifiableQueue.java
@@ -104,7 +104,7 @@ public final class UnmodifiableQueue<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an I/O error occurs while reading from the input stream
(commons-collections) 15/44: Javadoc
Posted by gg...@apache.org.
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 f11f3699e8f8cb01ecbabf7aeac8c626fb94f854
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:00:05 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/Flat3Map.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
index 02f61e740..4e8637b8a 100644
--- a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
+++ b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
@@ -1020,7 +1020,7 @@ public class Flat3Map<K, V> implements IterableMap<K, V>, Serializable, Cloneabl
}
/**
- * 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
(commons-collections) 01/44: Javadoc
Posted by gg...@apache.org.
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 0893f056d0c393ab441687e1980fe7c7953f79e5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:54:50 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/bag/CollectionSortedBag.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java b/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java
index 90dac3f2b..e0bbcf7fb 100644
--- a/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java
@@ -86,7 +86,7 @@ public final class CollectionSortedBag<E> extends AbstractSortedBagDecorator<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 11/44: Javadoc
Posted by gg...@apache.org.
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 1de53c14096ea858cc152c22ec6a620fdbb42e2e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:58:34 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/CaseInsensitiveMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java b/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java
index 09986d7e8..6b54b167e 100644
--- a/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java
@@ -152,7 +152,7 @@ public class CaseInsensitiveMap<K, V> extends AbstractHashedMap<K, V> implements
}
/**
- * 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
(commons-collections) 30/44: Javadoc
Posted by gg...@apache.org.
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 50cdd26c003d676f65ebe11197f605ffab9c63db
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:05:40 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java
index ece4f2865..dc16f1c86 100644
--- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java
@@ -126,7 +126,7 @@ public final class UnmodifiableSortedMap<K, V>
}
/**
- * 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
(commons-collections) 18/44: Javadoc
Posted by gg...@apache.org.
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 967921444eaff94299daa36e56433a37d3bfcfdf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:01:12 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/LazyMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/LazyMap.java b/src/main/java/org/apache/commons/collections4/map/LazyMap.java
index c2d16baea..f15cfb908 100644
--- a/src/main/java/org/apache/commons/collections4/map/LazyMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/LazyMap.java
@@ -143,7 +143,7 @@ public class LazyMap<K, V> extends AbstractMapDecorator<K, V> implements Seriali
}
/**
- * 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
(commons-collections) 28/44: Javadoc
Posted by gg...@apache.org.
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 6c11a3422ad4d75cbd3cbf89e3b7a6820066c864
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:04:56 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java
index c1a4747a2..7822d43f5 100644
--- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java
@@ -120,7 +120,7 @@ public final class UnmodifiableMap<K, V>
}
/**
- * 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
(commons-collections) 07/44: Javadoc
Posted by gg...@apache.org.
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 9da464a2a74f598cf3d43c50a6c7eda65baa2e66
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:57:05 2024 -0400
Javadoc
---
.../apache/commons/collections4/bidimap/DualLinkedHashBidiMap.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/main/java/org/apache/commons/collections4/bidimap/DualLinkedHashBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/DualLinkedHashBidiMap.java
index f0b4bdb68..20143bfe4 100644
--- a/src/main/java/org/apache/commons/collections4/bidimap/DualLinkedHashBidiMap.java
+++ b/src/main/java/org/apache/commons/collections4/bidimap/DualLinkedHashBidiMap.java
@@ -86,6 +86,13 @@ public class DualLinkedHashBidiMap<K, V> extends AbstractDualBidiMap<K, V> imple
return new DualLinkedHashBidiMap<>(normalMap, reverseMap, inverseBidiMap);
}
+ /**
+ * 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 LinkedHashMap<>();
(commons-collections) 39/44: Javadoc
Posted by gg...@apache.org.
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 b32379cefea19ba107d0cfa6f4660cc50b398678
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:09:01 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java b/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java
index b9d786085..9c398dcb8 100644
--- a/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java
+++ b/src/main/java/org/apache/commons/collections4/set/UnmodifiableSortedSet.java
@@ -99,7 +99,7 @@ public final class UnmodifiableSortedSet<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 13/44: Javadoc
Posted by gg...@apache.org.
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 237fc0bff6658279252316f976a7f8a4c5d74385
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:59:19 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java b/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java
index e7b98ee43..df34deb72 100644
--- a/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java
@@ -135,7 +135,7 @@ public class FixedSizeMap<K, V>
}
/**
- * 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
(commons-collections) 16/44: Javadoc
Posted by gg...@apache.org.
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 aab82d37d1bbf7e2fb234d4076b47cc605ee4fff
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:00:28 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/HashedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/HashedMap.java b/src/main/java/org/apache/commons/collections4/map/HashedMap.java
index 445a45e61..5b5d41f1f 100644
--- a/src/main/java/org/apache/commons/collections4/map/HashedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/HashedMap.java
@@ -99,7 +99,7 @@ public class HashedMap<K, V>
}
/**
- * 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
(commons-collections) 44/44: Javadoc
Posted by gg...@apache.org.
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 7b3dab212346af1d879f82481501a5829feb2fd3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:10:55 2024 -0400
Javadoc
---
src/test/java/org/apache/commons/collections4/map/IdentityMap.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/collections4/map/IdentityMap.java b/src/test/java/org/apache/commons/collections4/map/IdentityMap.java
index 17321010d..50736a898 100644
--- a/src/test/java/org/apache/commons/collections4/map/IdentityMap.java
+++ b/src/test/java/org/apache/commons/collections4/map/IdentityMap.java
@@ -184,7 +184,11 @@ public class IdentityMap<K, V>
}
/**
- * Read the map in using a custom routine.
+ * 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();
(commons-collections) 35/44: Javadoc
Posted by gg...@apache.org.
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 a4ccbb5207f659670daa947ab10422bcd126d69d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:07:33 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/queue/CircularFifoQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java
index de762a68f..4e47f7477 100644
--- a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java
+++ b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java
@@ -349,7 +349,7 @@ public class CircularFifoQueue<E> extends AbstractCollection<E>
}
/**
- * Read the queue in using a custom routine.
+ * Deserializes the queue in using a custom routine.
*
* @param in the input stream
* @throws IOException if an I/O error occurs while writing to the output stream
(commons-collections) 40/44: Javadoc
Posted by gg...@apache.org.
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 d94d5c2b12744766a90f076612e70a7f0feb65a7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:09:23 2024 -0400
Javadoc
---
.../org/apache/commons/collections4/splitmap/TransformedSplitMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/splitmap/TransformedSplitMap.java b/src/main/java/org/apache/commons/collections4/splitmap/TransformedSplitMap.java
index c64cab2f1..aca53a7f4 100644
--- a/src/main/java/org/apache/commons/collections4/splitmap/TransformedSplitMap.java
+++ b/src/main/java/org/apache/commons/collections4/splitmap/TransformedSplitMap.java
@@ -143,7 +143,7 @@ public class TransformedSplitMap<J, K, U, V> extends AbstractIterableGetMapDecor
}
/**
- * 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
(commons-collections) 20/44: Javadoc
Posted by gg...@apache.org.
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 0add2eabc9ea5c9fd6fda66fbf4174f132d348ab
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:01:57 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java b/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java
index e17be7ad2..da6958a1f 100644
--- a/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java
@@ -669,7 +669,7 @@ public class ListOrderedMap<K, V>
}
/**
- * 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
(commons-collections) 24/44: Javadoc
Posted by gg...@apache.org.
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 d010f1df60b1a8a7b383dd7e62f1d8be07783908
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:03:27 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/PredicatedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java b/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java
index 9be3642c9..a27e33979 100644
--- a/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java
@@ -143,7 +143,7 @@ public class PredicatedMap<K, V>
}
/**
- * 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
(commons-collections) 33/44: Javadoc
Posted by gg...@apache.org.
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 47f02555da7e08a6b55b12889b564ded626b42b0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:06:47 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/multiset/HashMultiSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/multiset/HashMultiSet.java b/src/main/java/org/apache/commons/collections4/multiset/HashMultiSet.java
index ececfd077..5930a0ba0 100644
--- a/src/main/java/org/apache/commons/collections4/multiset/HashMultiSet.java
+++ b/src/main/java/org/apache/commons/collections4/multiset/HashMultiSet.java
@@ -58,7 +58,7 @@ public class HashMultiSet<E> extends AbstractMapMultiSet<E> implements Serializa
}
/**
- * Read the multiset in using a custom routine.
+ * Deserializes the multiset in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 10/44: Javadoc
Posted by gg...@apache.org.
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 24cc228ca6d879f2c0044880c1bed518e5294f96
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:58:12 2024 -0400
Javadoc
---
.../commons/collections4/list/AbstractSerializableListDecorator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/list/AbstractSerializableListDecorator.java b/src/main/java/org/apache/commons/collections4/list/AbstractSerializableListDecorator.java
index 15f15a832..0f932e6be 100644
--- a/src/main/java/org/apache/commons/collections4/list/AbstractSerializableListDecorator.java
+++ b/src/main/java/org/apache/commons/collections4/list/AbstractSerializableListDecorator.java
@@ -44,7 +44,7 @@ public abstract class AbstractSerializableListDecorator<E>
}
/**
- * Read the list in using a custom routine.
+ * Deserializes the list in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 34/44: Javadoc
Posted by gg...@apache.org.
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 0d3544b5eaffdc8446ffd4d119cda98b803c8b40
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:07:10 2024 -0400
Javadoc
---
.../org/apache/commons/collections4/multiset/UnmodifiableMultiSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/multiset/UnmodifiableMultiSet.java b/src/main/java/org/apache/commons/collections4/multiset/UnmodifiableMultiSet.java
index bf7cf867e..bfdc63cf1 100644
--- a/src/main/java/org/apache/commons/collections4/multiset/UnmodifiableMultiSet.java
+++ b/src/main/java/org/apache/commons/collections4/multiset/UnmodifiableMultiSet.java
@@ -106,7 +106,7 @@ public final class UnmodifiableMultiSet<E>
}
/**
- * Read the collection in using a custom routine.
+ * Deserializes the collection in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 09/44: Javadoc
Posted by gg...@apache.org.
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 09854e889bf6821c8acee3057a976aaa5088dcfa
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:57:50 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
index 9ab69afa7..8ebaea097 100644
--- a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
+++ b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
@@ -1962,7 +1962,7 @@ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>>
}
/**
- * Reads the content of the stream.
+ * Deserializes the content of the stream.
*
* @param stream the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 23/44: Javadoc
Posted by gg...@apache.org.
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 5c1206fc23ab8ed8686707a006e10c0026c3f3e0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:03:04 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/PassiveExpiringMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
index 0fa8ee1af..2fbd0e803 100644
--- a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
@@ -444,7 +444,7 @@ public class PassiveExpiringMap<K, V>
}
/**
- * 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
(commons-collections) 22/44: Javadoc
Posted by gg...@apache.org.
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
(commons-collections) 12/44: Javadoc
Posted by gg...@apache.org.
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 685fbc851fbfb479fd799d617f113aa9e7089b2c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:58:56 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/DefaultedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
index 3fdea9a8c..9de42cdc3 100644
--- a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
@@ -177,7 +177,7 @@ public class DefaultedMap<K, V> extends AbstractMapDecorator<K, V> implements Se
}
/**
- * 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
(commons-collections) 21/44: Javadoc
Posted by gg...@apache.org.
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 e713a38def66db6b30dd4a0a8e39fa1bdc79c5f2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:02:19 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
index 3737fa118..ae73ae17e 100644
--- a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
@@ -667,7 +667,7 @@ public class MultiKeyMap<K, V> extends AbstractMapDecorator<MultiKey<? extends K
}
/**
- * 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
(commons-collections) 02/44: Javadoc
Posted by gg...@apache.org.
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 67a5466bda6ab7e3d2d4b6dc1c927cbb2292b0fe
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:55:13 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/bag/HashBag.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/bag/HashBag.java b/src/main/java/org/apache/commons/collections4/bag/HashBag.java
index 7318492a4..a8b4cb47e 100644
--- a/src/main/java/org/apache/commons/collections4/bag/HashBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/HashBag.java
@@ -60,7 +60,7 @@ public class HashBag<E> extends AbstractMapBag<E> implements Serializable {
}
/**
- * Read the bag in using a custom routine.
+ * Deserializes the bag in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 14/44: Javadoc
Posted by gg...@apache.org.
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 d074c2d87b436b6e9fe55841c5d9979813ce0c62
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:59:42 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/map/FixedSizeSortedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java b/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java
index ed5179707..6ea52586f 100644
--- a/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java
@@ -146,7 +146,7 @@ public class FixedSizeSortedMap<K, V>
}
/**
- * 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
(commons-collections) 06/44: Javadoc
Posted by gg...@apache.org.
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 400833e7a7684fe8f2f31d494ecf5faef590ae0f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 15:56:43 2024 -0400
Javadoc
---
.../org/apache/commons/collections4/bidimap/DualHashBidiMap.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/main/java/org/apache/commons/collections4/bidimap/DualHashBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/DualHashBidiMap.java
index b5d3e1edc..557fe7708 100644
--- a/src/main/java/org/apache/commons/collections4/bidimap/DualHashBidiMap.java
+++ b/src/main/java/org/apache/commons/collections4/bidimap/DualHashBidiMap.java
@@ -92,6 +92,13 @@ public class DualHashBidiMap<K, V> extends AbstractDualBidiMap<K, V> implements
return new DualHashBidiMap<>(normalMap, reverseMap, inverseBidiMap);
}
+ /**
+ * 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 HashMap<>();
(commons-collections) 08/44: Javadoc
Posted by gg...@apache.org.
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 <ga...@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);
(commons-collections) 42/44: Javadoc
Posted by gg...@apache.org.
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 ba4cabc4227582780f5eb89a0a08044ab247d28f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:10:09 2024 -0400
Javadoc
---
.../java/org/apache/commons/collections4/trie/PatriciaTrie.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java b/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java
index 26f327820..5cd28a65a 100644
--- a/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java
+++ b/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java
@@ -66,10 +66,16 @@ public class PatriciaTrie<V> extends AbstractPatriciaTrie<String, V> {
private static final long serialVersionUID = 4446367780901817838L;
+ /**
+ * Constructs a new instance.
+ */
public PatriciaTrie() {
super(StringKeyAnalyzer.INSTANCE);
}
+ /**
+ * Constructs a new instance.
+ */
public PatriciaTrie(final Map<? extends String, ? extends V> m) {
super(StringKeyAnalyzer.INSTANCE, m);
}
(commons-collections) 37/44: Javadoc
Posted by gg...@apache.org.
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 c45b53e294e04bac2acbd91468a0226e539eaa68
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:08:17 2024 -0400
Javadoc
---
.../commons/collections4/set/AbstractSerializableSetDecorator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/set/AbstractSerializableSetDecorator.java b/src/main/java/org/apache/commons/collections4/set/AbstractSerializableSetDecorator.java
index a82768a0a..918d34b1b 100644
--- a/src/main/java/org/apache/commons/collections4/set/AbstractSerializableSetDecorator.java
+++ b/src/main/java/org/apache/commons/collections4/set/AbstractSerializableSetDecorator.java
@@ -45,7 +45,7 @@ public abstract class AbstractSerializableSetDecorator<E>
}
/**
- * Read the set in using a custom routine.
+ * Deserializes the set in using a custom routine.
*
* @param in the input stream
* @throws IOException if an error occurs while reading from the stream
(commons-collections) 27/44: Javadoc
Posted by gg...@apache.org.
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 6b1e2fd401d86eb5c9de8e1d6567888da9cf4304
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:04:34 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/TransformedMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/TransformedMap.java b/src/main/java/org/apache/commons/collections4/map/TransformedMap.java
index faa75a05b..ebc148836 100644
--- a/src/main/java/org/apache/commons/collections4/map/TransformedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/TransformedMap.java
@@ -167,7 +167,7 @@ public class TransformedMap<K, V>
}
/**
- * 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
(commons-collections) 17/44: Javadoc
Posted by gg...@apache.org.
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 695f2fbaa3f1ef14cb2922b09a05926964306623
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 23 16:00:50 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/collections4/map/LRUMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/map/LRUMap.java b/src/main/java/org/apache/commons/collections4/map/LRUMap.java
index c15ca6be5..1eda0e854 100644
--- a/src/main/java/org/apache/commons/collections4/map/LRUMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/LRUMap.java
@@ -405,7 +405,7 @@ public class LRUMap<K, V>
}
/**
- * 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