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-beanutils.git
commit 044129038add3a4d95f4a1da084884c329eb6b4b Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Sep 16 18:37:16 2024 -0400 Reduce public API footprint Remove unused APIs --- .../apache/commons/beanutils2/WeakFastHashMap.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java index 8f155702..333a35b8 100644 --- a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java +++ b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java @@ -352,30 +352,13 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> { this.map = createMap(); } - /** - * Constructs an empty map with the specified capacity. - * - * @param capacity the initial capacity of the empty map - */ - public WeakFastHashMap(final int capacity) { - this.map = createMap(capacity); - } + // Map access // These methods can forward straight to the wrapped Map in 'fast' mode. // (because they are query methods) - /** - * Constructs an empty map with the specified capacity and load factor. - * - * @param capacity the initial capacity of the empty map - * @param factor the load factor of the new map - */ - public WeakFastHashMap(final int capacity, final float factor) { - this.map = createMap(capacity, factor); - } - /** * Constructs a new map with the same mappings as the specified map. *