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


The following commit(s) were added to refs/heads/master by this push:
     new 4e8afa5b Better internal class name
4e8afa5b is described below

commit 4e8afa5bbb29f68e5fbb430d8320e63daf96acef
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Aug 18 10:54:20 2023 -0400

    Better internal class name
---
 .../java/org/apache/commons/beanutils2/WeakFastHashMap.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java 
b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
index 06b5a812..57ca081f 100644
--- a/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
+++ b/src/main/java/org/apache/commons/beanutils2/WeakFastHashMap.java
@@ -70,7 +70,7 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> {
      *
      * @param <E> the element type
      */
-    private abstract class CollectionView<E> implements Collection<E> {
+    private abstract class AbstractCollectionView<E> implements Collection<E> {
 
         private class CollectionViewIterator implements Iterator<E> {
 
@@ -121,7 +121,7 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> {
             }
         }
 
-        public CollectionView() {
+        public AbstractCollectionView() {
         }
         @Override
         public boolean add(final E o) {
@@ -287,7 +287,7 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> {
     /**
      * Sets implementation over the entries of the FastHashMap
      */
-    private class EntrySet extends CollectionView<Map.Entry<K, V>> implements 
Set<Map.Entry<K, V>> {
+    private class EntrySet extends AbstractCollectionView<Map.Entry<K, V>> 
implements Set<Map.Entry<K, V>> {
 
         @Override
         protected Collection<Map.Entry<K, V>> get(final Map<K, V> map) {
@@ -304,7 +304,7 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> {
     /**
      * Sets implementation over the keys of the FastHashMap
      */
-    private class KeySet extends CollectionView<K> implements Set<K> {
+    private class KeySet extends AbstractCollectionView<K> implements Set<K> {
 
         @Override
         protected Collection<K> get(final Map<K, V> map) {
@@ -324,7 +324,7 @@ public class WeakFastHashMap<K, V> extends HashMap<K, V> {
     /**
      * Collection implementation over the values of the FastHashMap
      */
-    private class Values extends CollectionView<V> {
+    private class Values extends AbstractCollectionView<V> {
 
         @Override
         protected Collection<V> get(final Map<K, V> map) {

Reply via email to