garydgregory commented on a change in pull request #70: Add removeIf to 
SynchronizedCollection, Add mac store files to gitignore
URL: https://github.com/apache/commons-collections/pull/70#discussion_r280986558
 
 

 ##########
 File path: 
src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java
 ##########
 @@ -88,10 +89,10 @@
             if (coll instanceof BoundedCollection) {
                 break;  // normal loop exit
             }
-            if (coll instanceof AbstractCollectionDecorator) {
-                coll = ((AbstractCollectionDecorator<E>) coll).decorated();
-            } else if (coll instanceof SynchronizedCollection) {
-                coll = ((SynchronizedCollection<E>) coll).decorated();
+            if (coll instanceof 
org.apache.commons.collections4.collection.AbstractCollectionDecorator) {
 
 Review comment:
   I do not think you need the fully qualified name here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to