Unused variables removed.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2002-11-07 21:43:36 +00:00
parent 49f5da622f
commit 7510ff1b6d
2 changed files with 8 additions and 19 deletions

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/TestReferenceMap.java,v 1.2 2002/10/12 22:36:21 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestReferenceMap.java,v 1.3 2002/11/07 21:43:36 bayard Exp $
* $Revision: 1.2 $ * $Revision: 1.3 $
* $Date: 2002/10/12 22:36:21 $ * $Date: 2002/11/07 21:43:36 $
* *
* ==================================================================== * ====================================================================
* *
@ -72,19 +72,10 @@ import junit.framework.Test;
* Tests for ReferenceMap. * Tests for ReferenceMap.
* *
* @author Paul Jack * @author Paul Jack
* @version $Id: TestReferenceMap.java,v 1.2 2002/10/12 22:36:21 scolebourne Exp $ * @version $Id: TestReferenceMap.java,v 1.3 2002/11/07 21:43:36 bayard Exp $
*/ */
public class TestReferenceMap extends TestMap { public class TestReferenceMap extends TestMap {
private static Random random = new Random();
private Object[] hardKeys;
private Object[] hardValues;
private HashMap refs = new HashMap();
public TestReferenceMap(String testName) { public TestReferenceMap(String testName) {
super(testName); super(testName);
} }

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/iterators/TestIteratorChain.java,v 1.3 2002/10/31 21:55:23 rwaldhoff Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java,v 1.4 2002/11/07 21:43:36 bayard Exp $
* $Revision: 1.3 $ * $Revision: 1.4 $
* $Date: 2002/10/31 21:55:23 $ * $Date: 2002/11/07 21:43:36 $
* *
* ==================================================================== * ====================================================================
* *
@ -77,7 +77,7 @@ import junit.framework.TestSuite;
* @author James Strachan * @author James Strachan
* @author Mauricio S. Moura * @author Mauricio S. Moura
* @author Morgan Delagrange * @author Morgan Delagrange
* @version $Id: TestIteratorChain.java,v 1.3 2002/10/31 21:55:23 rwaldhoff Exp $ * @version $Id: TestIteratorChain.java,v 1.4 2002/11/07 21:43:36 bayard Exp $
*/ */
public class TestIteratorChain extends TestIterator { public class TestIteratorChain extends TestIterator {
@ -117,8 +117,6 @@ public class TestIteratorChain extends TestIterator {
public Iterator makeFullIterator() { public Iterator makeFullIterator() {
IteratorChain chain = new IteratorChain(); IteratorChain chain = new IteratorChain();
Iterator i = list1.iterator();
chain.addIterator(list1.iterator()); chain.addIterator(list1.iterator());
chain.addIterator(list2.iterator()); chain.addIterator(list2.iterator());
chain.addIterator(list3.iterator()); chain.addIterator(list3.iterator());