* clean up unused local variables

* scrub imports


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131037 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rodney Waldhoff 2003-05-05 23:25:22 +00:00
parent 0eaab38ac2
commit 8f6ef49683
25 changed files with 90 additions and 108 deletions

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/AbstractListDecorator.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/AbstractListDecorator.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,19 +58,16 @@
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.collections.Predicate;
/**
* <code>AbstractListDecorator</code> decorates another <code>List</code>.
* <p>
* Methods are forwarded directly to the decorated list.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/AbstractListIteratorDecorator.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/AbstractListIteratorDecorator.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -57,13 +57,8 @@
*/
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.collections.Predicate;
/**
* <code>AbstractListIteratorDecorator</code> decorates another
* <code>ListIterator</code>.
@ -75,7 +70,7 @@ import org.apache.commons.collections.Predicate;
* for some list implementations.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/FixedSizeList.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/FixedSizeList.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,12 +58,9 @@
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.collections.Predicate;
/**
* <code>FixedSizeList</code> decorates another <code>List</code> to
* fix the size.
@ -72,7 +69,7 @@ import org.apache.commons.collections.Predicate;
* The set method is allowed (as it doesn't change the list size).
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/SynchronizedList.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/SynchronizedList.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,19 +58,16 @@
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.collections.Predicate;
/**
* <code>SynchronizedList</code> decorates another <code>List</code>.
* <p>
* Methods are synchronized, then forwarded to the decorated list.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedCollection.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedCollection.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,7 +58,6 @@
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import org.apache.commons.collections.Predicate;
@ -71,7 +70,7 @@ import org.apache.commons.collections.Predicate;
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/UnmodifiableCollection.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/UnmodifiableCollection.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -61,7 +61,6 @@ import java.util.Collection;
import java.util.Iterator;
import org.apache.commons.collections.IteratorUtils;
import org.apache.commons.collections.Predicate;
/**
* <code>PredicatedCollection</code> decorates another <code>Collection</code>
@ -71,7 +70,7 @@ import org.apache.commons.collections.Predicate;
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/UnmodifiableList.java,v 1.1 2003/04/29 18:43:47 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/UnmodifiableList.java,v 1.2 2003/05/05 23:25:22 rwaldhoff Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,19 +58,17 @@
package org.apache.commons.collections.decorators;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.collections.IteratorUtils;
import org.apache.commons.collections.Predicate;
/**
* <code>UnmodifiableList</code> decorates another <code>List</code> to
* ensure it can't be altered.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/04/29 18:43:47 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:22 $
*
* @author Stephen Colebourne
*/

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestListUtils.java,v 1.8 2003/04/09 23:38:26 scolebourne Exp $
* $Revision: 1.8 $
* $Date: 2003/04/09 23:38:26 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestListUtils.java,v 1.9 2003/05/05 23:25:22 rwaldhoff Exp $
* $Revision: 1.9 $
* $Date: 2003/05/05 23:25:22 $
*
* ====================================================================
*
@ -153,10 +153,10 @@ public class TestListUtils extends BulkTest {
}
});
Integer I = (Integer)list.get(5);
assertNotNull((Integer)list.get(5));
assertEquals(6, list.size());
I = (Integer)list.get(5);
assertNotNull((Integer)list.get(5));
assertEquals(6, list.size());
}

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/primitives/Attic/TestArrayByteList.java,v 1.2 2003/04/16 18:38:09 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayByteList.java,v 1.3 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.2 $ $Date: 2003/04/16 18:38:09 $
* @version $Revision: 1.3 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
*/
public class TestArrayByteList extends TestByteList {
@ -140,12 +140,12 @@ public class TestArrayByteList extends TestByteList {
}
public void testZeroInitialCapacityIsValid() {
ArrayByteList list = new ArrayByteList(0);
assertNotNull(new ArrayByteList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayByteList list = new ArrayByteList(-1);
new ArrayByteList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayByteList extends TestByteList {
public void testCopyConstructorWithNull() {
try {
ArrayByteList list = new ArrayByteList(null);
new ArrayByteList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayCharList.java,v 1.1 2003/04/16 18:32:40 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayCharList.java,v 1.2 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/16 18:32:40 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayCharList extends TestCharList {
@ -140,12 +140,12 @@ public class TestArrayCharList extends TestCharList {
}
public void testZeroInitialCapacityIsValid() {
ArrayCharList list = new ArrayCharList(0);
assertNotNull(new ArrayCharList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayCharList list = new ArrayCharList(-1);
new ArrayCharList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayCharList extends TestCharList {
public void testCopyConstructorWithNull() {
try {
ArrayCharList list = new ArrayCharList(null);
new ArrayCharList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayDoubleList.java,v 1.1 2003/04/15 00:11:20 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayDoubleList.java,v 1.2 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/15 00:11:20 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayDoubleList extends TestDoubleList {
@ -140,12 +140,12 @@ public class TestArrayDoubleList extends TestDoubleList {
}
public void testZeroInitialCapacityIsValid() {
ArrayDoubleList list = new ArrayDoubleList(0);
assertNotNull(new ArrayDoubleList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayDoubleList list = new ArrayDoubleList(-1);
new ArrayDoubleList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayDoubleList extends TestDoubleList {
public void testCopyConstructorWithNull() {
try {
ArrayDoubleList list = new ArrayDoubleList(null);
new ArrayDoubleList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayFloatList.java,v 1.1 2003/04/13 22:08:09 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayFloatList.java,v 1.2 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/13 22:08:09 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
*/
public class TestArrayFloatList extends TestFloatList {
@ -140,12 +140,12 @@ public class TestArrayFloatList extends TestFloatList {
}
public void testZeroInitialCapacityIsValid() {
ArrayFloatList list = new ArrayFloatList(0);
assertNotNull(new ArrayFloatList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayFloatList list = new ArrayFloatList(-1);
new ArrayFloatList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayFloatList extends TestFloatList {
public void testCopyConstructorWithNull() {
try {
ArrayFloatList list = new ArrayFloatList(null);
new ArrayFloatList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayIntList.java,v 1.11 2003/03/05 19:10:50 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayIntList.java,v 1.12 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.11 $ $Date: 2003/03/05 19:10:50 $
* @version $Revision: 1.12 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayIntList extends TestIntList {
@ -140,12 +140,12 @@ public class TestArrayIntList extends TestIntList {
}
public void testZeroInitialCapacityIsValid() {
ArrayIntList list = new ArrayIntList(0);
assertNotNull(new ArrayIntList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayIntList list = new ArrayIntList(-1);
new ArrayIntList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayIntList extends TestIntList {
public void testCopyConstructorWithNull() {
try {
ArrayIntList list = new ArrayIntList(null);
new ArrayIntList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayLongList.java,v 1.1 2003/04/08 18:24:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayLongList.java,v 1.2 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/08 18:24:34 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
*/
public class TestArrayLongList extends TestLongList {
@ -140,12 +140,12 @@ public class TestArrayLongList extends TestLongList {
}
public void testZeroInitialCapacityIsValid() {
ArrayLongList list = new ArrayLongList(0);
assertNotNull(new ArrayLongList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayLongList list = new ArrayLongList(-1);
new ArrayLongList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayLongList extends TestLongList {
public void testCopyConstructorWithNull() {
try {
ArrayLongList list = new ArrayLongList(null);
new ArrayLongList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayShortList.java,v 1.1 2003/04/11 00:55:36 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayShortList.java,v 1.2 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/11 00:55:36 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayShortList extends TestShortList {
@ -140,12 +140,12 @@ public class TestArrayShortList extends TestShortList {
}
public void testZeroInitialCapacityIsValid() {
ArrayShortList list = new ArrayShortList(0);
assertNotNull(new ArrayShortList(0));
}
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayShortList list = new ArrayShortList(-1);
new ArrayShortList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -164,7 +164,7 @@ public class TestArrayShortList extends TestShortList {
public void testCopyConstructorWithNull() {
try {
ArrayShortList list = new ArrayShortList(null);
new ArrayShortList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayUnsignedByteList.java,v 1.1 2003/04/11 21:50:15 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedByteList.java,v 1.2 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/11 21:50:15 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
*/
public class TestArrayUnsignedByteList extends TestShortList {
@ -134,7 +134,7 @@ public class TestArrayUnsignedByteList extends TestShortList {
}
public void testZeroInitialCapacityIsValid() {
ArrayUnsignedByteList list = new ArrayUnsignedByteList(0);
assertNotNull(new ArrayUnsignedByteList(0));
}
public void testIllegalArgumentExceptionWhenElementOutOfRange() {
@ -157,7 +157,7 @@ public class TestArrayUnsignedByteList extends TestShortList {
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayUnsignedByteList list = new ArrayUnsignedByteList(-1);
new ArrayUnsignedByteList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -176,7 +176,7 @@ public class TestArrayUnsignedByteList extends TestShortList {
public void testCopyConstructorWithNull() {
try {
ArrayUnsignedByteList list = new ArrayUnsignedByteList(null);
new ArrayUnsignedByteList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayUnsignedIntList.java,v 1.1 2003/04/09 06:44:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedIntList.java,v 1.2 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.1 $ $Date: 2003/04/09 06:44:34 $
* @version $Revision: 1.2 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayUnsignedIntList extends TestLongList {
@ -134,7 +134,7 @@ public class TestArrayUnsignedIntList extends TestLongList {
}
public void testZeroInitialCapacityIsValid() {
ArrayUnsignedIntList list = new ArrayUnsignedIntList(0);
assertNotNull(new ArrayUnsignedIntList(0));
}
public void testIllegalArgumentExceptionWhenElementOutOfRange() {
@ -157,7 +157,7 @@ public class TestArrayUnsignedIntList extends TestLongList {
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayUnsignedIntList list = new ArrayUnsignedIntList(-1);
new ArrayUnsignedIntList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -176,7 +176,7 @@ public class TestArrayUnsignedIntList extends TestLongList {
public void testCopyConstructorWithNull() {
try {
ArrayUnsignedIntList list = new ArrayUnsignedIntList(null);
new ArrayUnsignedIntList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestArrayUnsignedShortList.java,v 1.11 2003/03/05 19:10:50 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedShortList.java,v 1.12 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.11 $ $Date: 2003/03/05 19:10:50 $
* @version $Revision: 1.12 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
*/
public class TestArrayUnsignedShortList extends TestIntList {
@ -126,7 +126,7 @@ public class TestArrayUnsignedShortList extends TestIntList {
}
public void testZeroInitialCapacityIsValid() {
ArrayUnsignedShortList list = new ArrayUnsignedShortList(0);
assertNotNull(new ArrayUnsignedShortList(0));
}
public void testIllegalArgumentExceptionWhenElementOutOfRange() {
@ -149,7 +149,7 @@ public class TestArrayUnsignedShortList extends TestIntList {
public void testNegativeInitialCapacityIsInvalid() {
try {
ArrayUnsignedShortList list = new ArrayUnsignedShortList(-1);
new ArrayUnsignedShortList(-1);
fail("Expected IllegalArgumentException");
} catch(IllegalArgumentException e) {
// expected
@ -168,7 +168,7 @@ public class TestArrayUnsignedShortList extends TestIntList {
public void testCopyConstructorWithNull() {
try {
ArrayUnsignedShortList list = new ArrayUnsignedShortList(null);
new ArrayUnsignedShortList(null);
fail("Expected NullPointerException");
} catch(NullPointerException e) {
// expected

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/primitives/Attic/TestFloatArrayList.java,v 1.6 2003/04/13 23:05:35 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestFloatArrayList.java,v 1.7 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -65,7 +65,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.TestList;
/**
* @version $Revision: 1.6 $ $Date: 2003/04/13 23:05:35 $
* @version $Revision: 1.7 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
* @deprecated since the tested type is also
*/
@ -97,7 +97,7 @@ public class TestFloatArrayList extends TestList {
//------------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
FloatArrayList list = new FloatArrayList(0);
assertNotNull(new FloatArrayList(0));
}
public void testAddGet() {

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/primitives/Attic/TestIntArrayList.java,v 1.7 2003/04/09 06:44:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestIntArrayList.java,v 1.8 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/09 06:44:34 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
* @deprecated as the tested classes are deprecated also
*/
@ -89,7 +89,7 @@ public class TestIntArrayList extends TestAbstractIntArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
IntArrayList list = new IntArrayList(0);
assertNotNull(new IntArrayList(0));
}
}

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/primitives/Attic/TestLongArrayList.java,v 1.7 2003/04/09 06:44:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestLongArrayList.java,v 1.8 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/09 06:44:34 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
* @deprecated as the tested classes are deprecated also
*/
@ -89,7 +89,7 @@ public class TestLongArrayList extends TestAbstractLongArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
LongArrayList list = new LongArrayList(0);
assertNotNull(new LongArrayList(0));
}
}

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/primitives/Attic/TestShortArrayList.java,v 1.7 2003/04/11 22:01:25 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestShortArrayList.java,v 1.8 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/11 22:01:25 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
* @deprecated since the tested class is also.
*/
@ -89,7 +89,7 @@ public class TestShortArrayList extends TestAbstractShortArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
ShortArrayList list = new ShortArrayList(0);
assertNotNull(new ShortArrayList(0));
}
}

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/primitives/Attic/TestUnsignedByteArrayList.java,v 1.7 2003/04/11 22:01:25 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedByteArrayList.java,v 1.8 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/11 22:01:25 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
* @deprecated since the tested class is also.
*/
@ -89,7 +89,7 @@ public class TestUnsignedByteArrayList extends TestAbstractShortArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
UnsignedByteArrayList list = new UnsignedByteArrayList(0);
assertNotNull(new UnsignedByteArrayList(0));
}
}

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/primitives/Attic/TestUnsignedIntArrayList.java,v 1.7 2003/04/09 06:44:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedIntArrayList.java,v 1.8 2003/05/05 23:25:19 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/09 06:44:34 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:19 $
* @author Rodney Waldhoff
* @deprecated as the tested classes are deprecated also
*/
@ -89,7 +89,7 @@ public class TestUnsignedIntArrayList extends TestAbstractLongArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
UnsignedIntArrayList list = new UnsignedIntArrayList(0);
assertNotNull(new UnsignedIntArrayList(0));
}
}

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/primitives/Attic/TestUnsignedShortArrayList.java,v 1.7 2003/04/09 06:44:34 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestUnsignedShortArrayList.java,v 1.8 2003/05/05 23:25:21 rwaldhoff Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest;
/**
* @version $Revision: 1.7 $ $Date: 2003/04/09 06:44:34 $
* @version $Revision: 1.8 $ $Date: 2003/05/05 23:25:21 $
* @author Rodney Waldhoff
* @deprecated as the tested classes are deprecated also
*/
@ -89,7 +89,7 @@ public class TestUnsignedShortArrayList extends TestAbstractIntArrayList {
//---------------------------------------------------------------- Tests
public void testZeroInitialCapacityIsValid() {
UnsignedShortArrayList list = new UnsignedShortArrayList(0);
assertNotNull(new UnsignedShortArrayList(0));
}
}