From 7510ff1b6d06b3bb9bd21f44390c8071f4e3fdc4 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Thu, 7 Nov 2002 21:43:36 +0000 Subject: [PATCH] Unused variables removed. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130865 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/TestReferenceMap.java | 17 ++++------------- .../iterators/TestIteratorChain.java | 10 ++++------ 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/src/test/org/apache/commons/collections/TestReferenceMap.java b/src/test/org/apache/commons/collections/TestReferenceMap.java index ee2d492d2..e16355dd2 100644 --- a/src/test/org/apache/commons/collections/TestReferenceMap.java +++ b/src/test/org/apache/commons/collections/TestReferenceMap.java @@ -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 $ - * $Revision: 1.2 $ - * $Date: 2002/10/12 22:36:21 $ + * $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.3 $ + * $Date: 2002/11/07 21:43:36 $ * * ==================================================================== * @@ -72,19 +72,10 @@ import junit.framework.Test; * Tests for ReferenceMap. * * @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 { - - private static Random random = new Random(); - - - private Object[] hardKeys; - private Object[] hardValues; - private HashMap refs = new HashMap(); - - public TestReferenceMap(String testName) { super(testName); } diff --git a/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java b/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java index ccd3f4bcb..0e938de56 100644 --- a/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java +++ b/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java @@ -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 $ - * $Revision: 1.3 $ - * $Date: 2002/10/31 21:55:23 $ + * $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.4 $ + * $Date: 2002/11/07 21:43:36 $ * * ==================================================================== * @@ -77,7 +77,7 @@ import junit.framework.TestSuite; * @author James Strachan * @author Mauricio S. Moura * @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 { @@ -117,8 +117,6 @@ public class TestIteratorChain extends TestIterator { public Iterator makeFullIterator() { IteratorChain chain = new IteratorChain(); - Iterator i = list1.iterator(); - chain.addIterator(list1.iterator()); chain.addIterator(list2.iterator()); chain.addIterator(list3.iterator());