diff --git a/src/main/java/org/apache/commons/collections4/collection/CompositeCollection.java b/src/main/java/org/apache/commons/collections4/collection/CompositeCollection.java index ac21e59ce..11cfd0e8c 100644 --- a/src/main/java/org/apache/commons/collections4/collection/CompositeCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/CompositeCollection.java @@ -428,7 +428,7 @@ public class CompositeCollection implements Collection, Serializable { * @throws NullPointerException if the object cannot be added because its null * @throws IllegalArgumentException if the object cannot be added */ - public boolean add(CompositeCollection composite, List> collections, E obj); + boolean add(CompositeCollection composite, List> collections, E obj); /** * Called when a collection is to be added to the composite. @@ -442,7 +442,7 @@ public class CompositeCollection implements Collection, Serializable { * @throws NullPointerException if the object cannot be added because its null * @throws IllegalArgumentException if the object cannot be added */ - public boolean addAll(CompositeCollection composite, + boolean addAll(CompositeCollection composite, List> collections, Collection coll); @@ -458,7 +458,7 @@ public class CompositeCollection implements Collection, Serializable { * @throws NullPointerException if the object cannot be removed because its null * @throws IllegalArgumentException if the object cannot be removed */ - public boolean remove(CompositeCollection composite, + boolean remove(CompositeCollection composite, List> collections, Object obj);