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
The following commit(s) were added to refs/heads/master by this push:
new 799ef3db1 Javadoc: Add missing generic types
799ef3db1 is described below
commit 799ef3db1d1e07cb99d452727fad485962cd8dda
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Oct 20 17:38:39 2024 -0400
Javadoc: Add missing generic types
---
.../apache/commons/collections4/map/ConcurrentReferenceHashMap.java | 3 +++
src/main/java/org/apache/commons/collections4/map/SingletonMap.java | 2 ++
.../apache/commons/collections4/multiset/SynchronizedMultiSet.java | 4 +++-
.../org/apache/commons/collections4/trie/AbstractBitwiseTrie.java | 3 +++
4 files changed, 11 insertions(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
index 74739d7b8..1ab535eed 100644
---
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
+++
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
@@ -668,6 +668,9 @@ public class ConcurrentReferenceHashMap<K, V> extends
AbstractMap<K, V> implemen
* <p>
* As a guide, all critical volatile reads and writes to the count field
are marked in code comments.
* </p>
+ *
+ * @param <K> the type of keys maintained by this Segment.
+ * @param <V> the type of mapped values.
*/
private static final class Segment<K, V> extends ReentrantLock {
diff --git
a/src/main/java/org/apache/commons/collections4/map/SingletonMap.java
b/src/main/java/org/apache/commons/collections4/map/SingletonMap.java
index 7dd8ef446..e1a2f169f 100644
--- a/src/main/java/org/apache/commons/collections4/map/SingletonMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/SingletonMap.java
@@ -150,6 +150,8 @@ public class SingletonMap<K, V>
/**
* Values implementation for the SingletonMap.
* This class is needed as values is a view that must update as the map
updates.
+ *
+ * @param <V> the type of the values in this set.
*/
static class SingletonValues<V> extends AbstractSet<V> implements
Serializable {
private static final long serialVersionUID = -3689524741863047872L;
diff --git
a/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
b/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
index e68fb8cfe..b8525d4d9 100644
---
a/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
+++
b/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
@@ -29,13 +29,15 @@ import
org.apache.commons.collections4.collection.SynchronizedCollection;
* Iterators must be separately synchronized around the loop.
* </p>
*
- * @param <E> the type held in the multiset
+ * @param <E> the type held in the multiset.
* @since 4.1
*/
public class SynchronizedMultiSet<E> extends SynchronizedCollection<E>
implements MultiSet<E> {
/**
* Synchronized Set for the MultiSet class.
+ *
+ * @param <T> the type held in this Set.
*/
static class SynchronizedSet<T> extends SynchronizedCollection<T>
implements Set<T> {
/** Serialization version */
diff --git
a/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java
b/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java
index bb87e0a5c..5d3a4dd60 100644
---
a/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java
+++
b/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java
@@ -36,6 +36,9 @@ public abstract class AbstractBitwiseTrie<K, V> extends
AbstractMap<K, V>
/**
* A basic implementation of {@link Entry}.
+ *
+ * @param <K> the type of the keys in this entry.
+ * @param <V> the type of the values in this entry.
*/
abstract static class BasicEntry<K, V> implements Map.Entry<K, V>,
Serializable {