Code tidy

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-10-10 21:07:48 +00:00
parent ce07bf068f
commit 7f40c66819
1 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestCollection.java,v 1.3 2003/10/05 23:10:31 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestCollection.java,v 1.4 2003/10/10 21:07:48 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -146,7 +146,7 @@ import java.util.NoSuchElementException;
* you may still use this base set of cases. Simply override the * you may still use this base set of cases. Simply override the
* test case (method) your {@link Collection} fails. * test case (method) your {@link Collection} fails.
* *
* @version $Revision: 1.3 $ $Date: 2003/10/05 23:10:31 $ * @version $Revision: 1.4 $ $Date: 2003/10/10 21:07:48 $
* *
* @author Rodney Waldhoff * @author Rodney Waldhoff
* @author Paul Jack * @author Paul Jack
@ -948,14 +948,12 @@ public abstract class AbstractTestCollection extends AbstractTestObject {
!collection.removeAll(Collections.EMPTY_SET)); !collection.removeAll(Collections.EMPTY_SET));
verify(); verify();
assertTrue("Full collection removeAll should return false for " + assertTrue("Full collection removeAll should return false for other elements",
"other elements",
!collection.removeAll(Arrays.asList(getOtherElements()))); !collection.removeAll(Arrays.asList(getOtherElements())));
verify(); verify();
assertTrue("Full collection removeAll should return true for " + assertTrue("Full collection removeAll should return true for full elements",
"full elements", collection.removeAll(new HashSet(collection)));
collection.removeAll(new HashSet(collection)));
confirmed.removeAll(new HashSet(confirmed)); confirmed.removeAll(new HashSet(confirmed));
verify(); verify();