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 2022/09/01 17:43:39 UTC

[commons-collections] branch master updated: Rename type parameter

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 a6e20efe6 Rename type parameter
a6e20efe6 is described below

commit a6e20efe6282738c9eec63c2b58d31ac77a27a89
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 1 13:43:34 2022 -0400

    Rename type parameter
---
 .../java/org/apache/commons/collections4/trie/PatriciaTrie.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 a1c739139..8d2487d5f 100644
--- a/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java
+++ b/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java
@@ -55,14 +55,14 @@ import org.apache.commons.collections4.trie.analyzer.StringKeyAnalyzer;
  * are suited only to variable length keys.
  * </p>
  *
- * @param <E> the type of the values in this map
+ * @param <V> the type of the values in this map
  *
  * @see <a href="http://en.wikipedia.org/wiki/Radix_tree">Radix Tree</a>
  * @see <a href="http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Tree/PATRICIA">PATRICIA</a>
  * @see <a href="http://www.imperialviolet.org/binary/critbit.pdf">Crit-Bit Tree</a>
  * @since 4.0
  */
-public class PatriciaTrie<E> extends AbstractPatriciaTrie<String, E> {
+public class PatriciaTrie<V> extends AbstractPatriciaTrie<String, V> {
 
     private static final long serialVersionUID = 4446367780901817838L;
 
@@ -70,7 +70,7 @@ public class PatriciaTrie<E> extends AbstractPatriciaTrie<String, E> {
         super(new StringKeyAnalyzer());
     }
 
-    public PatriciaTrie(final Map<? extends String, ? extends E> m) {
+    public PatriciaTrie(final Map<? extends String, ? extends V> m) {
         super(new StringKeyAnalyzer(), m);
     }