You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rw...@apache.org on 2003/06/24 17:21:03 UTC

cvs commit: jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/generators Generator.java

rwaldhoff    2003/06/24 08:21:03

  Modified:    functor/src/test/org/apache/commons/functor/core/collection
                        TestIsElementOf.java
               functor/src/java/org/apache/commons/functor/generators/util
                        EachElement.java
               functor/src/test/org/apache/commons/functor/generators/util
                        TestNumberRange.java TestEachElement.java
               functor/src/test/org/apache/commons/functor/util
                        TestBinarySearch.java
               functor/src/java/org/apache/commons/functor/generators
                        Generator.java
  Log:
  organize imports
  
  Revision  Changes    Path
  1.2       +4 -5      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/collection/TestIsElementOf.java
  
  Index: TestIsElementOf.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/collection/TestIsElementOf.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsElementOf.java	24 Jun 2003 15:17:04 -0000	1.1
  +++ TestIsElementOf.java	24 Jun 2003 15:21:02 -0000	1.2
  @@ -56,13 +56,12 @@
    */
   package org.apache.commons.functor.core.collection;
   
  +import java.util.ArrayList;
  +
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
   import org.apache.commons.functor.BaseFunctorTest;
  -
  -import java.util.List;
  -import java.util.ArrayList;
   
   /**
    * @version $Revision$ $Date$
  
  
  
  1.2       +7 -8      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/generators/util/EachElement.java
  
  Index: EachElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/generators/util/EachElement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EachElement.java	24 Jun 2003 15:17:00 -0000	1.1
  +++ EachElement.java	24 Jun 2003 15:21:02 -0000	1.2
  @@ -57,15 +57,14 @@
   
   package org.apache.commons.functor.generators.util;
   
  +import java.util.Arrays;
  +import java.util.Collection;
  +import java.util.Iterator;
  +import java.util.Map;
  +
   import org.apache.commons.functor.UnaryProcedure;
   import org.apache.commons.functor.generators.Generator;
  -import org.apache.commons.functor.generators.Generator;
   import org.apache.commons.functor.generators.IteratorToGeneratorAdapter;
  -
  -import java.util.Collection;
  -import java.util.Map;
  -import java.util.Arrays;
  -import java.util.Iterator;
   
   /**
    * Generator for each element of a collection.
  
  
  
  1.2       +2 -2      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/generators/util/TestNumberRange.java
  
  Index: TestNumberRange.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/generators/util/TestNumberRange.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestNumberRange.java	24 Jun 2003 15:17:00 -0000	1.1
  +++ TestNumberRange.java	24 Jun 2003 15:21:02 -0000	1.2
  @@ -57,9 +57,9 @@
   
   package org.apache.commons.functor.generators.util;
   
  -import junit.framework.TestCase;
   import junit.framework.Test;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.functor.BaseFunctorTest;
   
   /**
  
  
  
  1.2       +7 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/generators/util/TestEachElement.java
  
  Index: TestEachElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/generators/util/TestEachElement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestEachElement.java	24 Jun 2003 15:17:00 -0000	1.1
  +++ TestEachElement.java	24 Jun 2003 15:21:02 -0000	1.2
  @@ -57,12 +57,15 @@
   
   package org.apache.commons.functor.generators.util;
   
  +import java.util.ArrayList;
  +import java.util.Collection;
  +import java.util.HashMap;
  +import java.util.List;
  +import java.util.Map;
  +
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
  -import java.util.*;
  -
  -import org.apache.commons.functor.generators.Generator;
   import org.apache.commons.functor.BaseFunctorTest;
   
   /**
  
  
  
  1.2       +5 -6      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/util/TestBinarySearch.java
  
  Index: TestBinarySearch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/util/TestBinarySearch.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestBinarySearch.java	24 Jun 2003 15:17:01 -0000	1.1
  +++ TestBinarySearch.java	24 Jun 2003 15:21:02 -0000	1.2
  @@ -57,13 +57,12 @@
   
   package org.apache.commons.functor.util;
   
  -import junit.framework.TestCase;
  -import junit.framework.Test;
  -import junit.framework.TestSuite;
  -import org.apache.commons.functor.Algorithms;
  -
   import java.util.ArrayList;
   import java.util.List;
  +
  +import junit.framework.Test;
  +import junit.framework.TestCase;
  +import junit.framework.TestSuite;
   
   /**
    * @author Jason Horman (jason@jhorman.org)
  
  
  
  1.2       +9 -6      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/generators/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/generators/Generator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Generator.java	24 Jun 2003 15:17:00 -0000	1.1
  +++ Generator.java	24 Jun 2003 15:21:03 -0000	1.2
  @@ -57,11 +57,14 @@
   
   package org.apache.commons.functor.generators;
   
  -import org.apache.commons.functor.*;
  -import org.apache.commons.functor.generators.util.CollectionTransformer;
  -
   import java.util.Collection;
  -import java.util.Iterator;
  +
  +import org.apache.commons.functor.Algorithms;
  +import org.apache.commons.functor.BinaryFunction;
  +import org.apache.commons.functor.UnaryFunction;
  +import org.apache.commons.functor.UnaryPredicate;
  +import org.apache.commons.functor.UnaryProcedure;
  +import org.apache.commons.functor.generators.util.CollectionTransformer;
   
   /**
    * Base class for generators. Adds support for all of the {@link Algorithms} to
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org