From 7f40c668194e6d5a6ead3acfe60311cedfa374d7 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Fri, 10 Oct 2003 21:07:48 +0000 Subject: [PATCH] Code tidy git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131275 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/AbstractTestCollection.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/test/org/apache/commons/collections/AbstractTestCollection.java b/src/test/org/apache/commons/collections/AbstractTestCollection.java index 53afb7680..5b7ddd995 100644 --- a/src/test/org/apache/commons/collections/AbstractTestCollection.java +++ b/src/test/org/apache/commons/collections/AbstractTestCollection.java @@ -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 @@ -146,7 +146,7 @@ import java.util.NoSuchElementException; * you may still use this base set of cases. Simply override the * 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 Paul Jack @@ -948,14 +948,12 @@ public abstract class AbstractTestCollection extends AbstractTestObject { !collection.removeAll(Collections.EMPTY_SET)); verify(); - assertTrue("Full collection removeAll should return false for " + - "other elements", + assertTrue("Full collection removeAll should return false for other elements", !collection.removeAll(Arrays.asList(getOtherElements()))); verify(); - assertTrue("Full collection removeAll should return true for " + - "full elements", - collection.removeAll(new HashSet(collection))); + assertTrue("Full collection removeAll should return true for full elements", + collection.removeAll(new HashSet(collection))); confirmed.removeAll(new HashSet(confirmed)); verify();