From 081e3fcc15aca3663511949b39a65d3200e124cf Mon Sep 17 00:00:00 2001 From: Rodney Waldhoff Date: Mon, 6 Jan 2003 03:56:21 +0000 Subject: [PATCH] oops, retainAll should delegate to retainAll, not removeAll git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130901 13f79535-47bb-0310-9956-ffa450edef68 --- .../primitives/IntCollectionCollection.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java b/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java index 1ffc44158..77680e244 100644 --- a/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java +++ b/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntCollectionCollection.java,v 1.1 2003/01/05 03:03:42 rwaldhoff Exp $ - * $Revision: 1.1 $ - * $Date: 2003/01/05 03:03:42 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntCollectionCollection.java,v 1.2 2003/01/06 03:56:21 rwaldhoff Exp $ + * $Revision: 1.2 $ + * $Date: 2003/01/06 03:56:21 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.Iterator; * Adapts an {@link IntCollection} to the * {@link java.util.Collection Collection} interface. * - * @version $Revision: 1.1 $ $Date: 2003/01/05 03:03:42 $ + * @version $Revision: 1.2 $ $Date: 2003/01/06 03:56:21 $ * @author Rodney Waldhoff */ public class IntCollectionCollection implements Collection { @@ -124,7 +124,7 @@ public class IntCollectionCollection implements Collection { } public boolean retainAll(Collection c) { - return _collection.removeAll(CollectionIntCollection.wrap(c)); + return _collection.retainAll(CollectionIntCollection.wrap(c)); } public int size() {