You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/06/08 16:19:44 UTC

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/reflect ReflectionUtilsTestCase.java ScopeBean.java MethodUtilsTestCase.java

scolebourne    2003/06/08 07:19:44

  Modified:    lang/src/test/org/apache/commons/lang/time
                        DateUtilsTest.java CalendarUtilsTest.java
               lang/src/test/org/apache/commons/lang/math IntRangeTest.java
                        RandomUtilsTest.java FloatRangeTest.java
                        LongRangeTest.java DoubleRangeTest.java
                        NumberRangeTest.java AbstractRangeTest.java
               lang/src/test/org/apache/commons/lang/reflect
                        ReflectionUtilsTestCase.java ScopeBean.java
                        MethodUtilsTestCase.java
  Log:
  Organize imports
  
  Revision  Changes    Path
  1.2       +0 -1      jakarta-commons/lang/src/test/org/apache/commons/lang/time/DateUtilsTest.java
  
  Index: DateUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/time/DateUtilsTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DateUtilsTest.java	18 Dec 2002 23:30:19 -0000	1.1
  +++ DateUtilsTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -53,7 +53,6 @@
    */
   package org.apache.commons.lang.time;
   
  -import java.util.Date;
   import java.util.Calendar;
   import java.util.TimeZone;
   
  
  
  
  1.2       +5 -4      jakarta-commons/lang/src/test/org/apache/commons/lang/time/CalendarUtilsTest.java
  
  Index: CalendarUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/time/CalendarUtilsTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CalendarUtilsTest.java	18 Dec 2002 23:30:19 -0000	1.1
  +++ CalendarUtilsTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -1,9 +1,7 @@
  -package org.apache.commons.lang.time;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -53,9 +51,12 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang.time;
   
   import java.text.DateFormat;
  -import java.util.*;
  +import java.util.Calendar;
  +import java.util.Date;
  +import java.util.Iterator;
   
   import junit.framework.AssertionFailedError;
   import junit.framework.Test;
  
  
  
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/IntRangeTest.java
  
  Index: IntRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/IntRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IntRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ IntRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -54,8 +54,8 @@
   package org.apache.commons.lang.math;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link IntRange} class.
    *
  
  
  
  1.2       +3 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/RandomUtilsTest.java
  
  Index: RandomUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/RandomUtilsTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RandomUtilsTest.java	14 May 2003 02:41:26 -0000	1.1
  +++ RandomUtilsTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -53,10 +53,11 @@
    */
   package org.apache.commons.lang.math;
   
  +import java.util.Random;
  +
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  -import java.util.Random;
   
   /**
    * Test cases for the {@link RandomUtils} class.
  
  
  
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/FloatRangeTest.java
  
  Index: FloatRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/FloatRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FloatRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ FloatRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -54,8 +54,8 @@
   package org.apache.commons.lang.math;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link FloatRange} class.
    *
  
  
  
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/LongRangeTest.java
  
  Index: LongRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/LongRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LongRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ LongRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -54,8 +54,8 @@
   package org.apache.commons.lang.math;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link LongRange} class.
    *
  
  
  
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/DoubleRangeTest.java
  
  Index: DoubleRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/DoubleRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DoubleRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ DoubleRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -54,8 +54,8 @@
   package org.apache.commons.lang.math;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link DoubleRange} class.
    *
  
  
  
  1.2       +2 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/math/NumberRangeTest.java
  
  Index: NumberRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/NumberRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NumberRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ NumberRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -54,8 +54,8 @@
   package org.apache.commons.lang.math;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link NumberRange} class.
    *
  
  
  
  1.2       +2 -3      jakarta-commons/lang/src/test/org/apache/commons/lang/math/AbstractRangeTest.java
  
  Index: AbstractRangeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/math/AbstractRangeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractRangeTest.java	22 Dec 2002 16:20:29 -0000	1.1
  +++ AbstractRangeTest.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -53,9 +53,8 @@
    */
   package org.apache.commons.lang.math;
   
  -import junit.framework.Test;
   import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  +
   /**
    * Test cases for the {@link Range} classes.
    *
  
  
  
  1.4       +1 -10     jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/ReflectionUtilsTestCase.java
  
  Index: ReflectionUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/ReflectionUtilsTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ReflectionUtilsTestCase.java	20 Nov 2002 22:31:40 -0000	1.3
  +++ ReflectionUtilsTestCase.java	8 Jun 2003 14:19:43 -0000	1.4
  @@ -54,22 +54,13 @@
    * <http://www.apache.org/>.
    *
    */
  -
  -
   package org.apache.commons.lang.reflect;
   
  -
  -import java.lang.reflect.Method;
   import java.lang.reflect.Member;
  -import java.lang.reflect.Modifier;
  -
  -import org.apache.commons.lang.reflect.priv.PrivateBeanFactory;
  -import org.apache.commons.lang.reflect.priv.PublicSubBean;
   
  -import junit.framework.TestCase;
   import junit.framework.Test;
  +import junit.framework.TestCase;
   import junit.framework.TestSuite;
  -
   
   /**
    * <p> Test case for <code>ReflectionUtils</code> </p>
  
  
  
  1.2       +1 -1      jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/ScopeBean.java
  
  Index: ScopeBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/ScopeBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScopeBean.java	18 Nov 2002 23:01:36 -0000	1.1
  +++ ScopeBean.java	8 Jun 2003 14:19:43 -0000	1.2
  @@ -53,8 +53,8 @@
    */
   package org.apache.commons.lang.reflect;
   
  -import java.lang.reflect.Method;
   import java.lang.reflect.Field;
  +import java.lang.reflect.Method;
   
   /**
    * Bean with examples of different scoped fields and methods.
  
  
  
  1.5       +3 -7      jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/MethodUtilsTestCase.java
  
  Index: MethodUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/reflect/MethodUtilsTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MethodUtilsTestCase.java	10 Dec 2002 19:06:49 -0000	1.4
  +++ MethodUtilsTestCase.java	8 Jun 2003 14:19:43 -0000	1.5
  @@ -54,21 +54,17 @@
    * <http://www.apache.org/>.
    *
    */
  -
  -
   package org.apache.commons.lang.reflect;
   
  -
   import java.lang.reflect.Method;
   import java.lang.reflect.Modifier;
   
  -import org.apache.commons.lang.reflect.priv.PrivateBeanFactory;
  -import org.apache.commons.lang.reflect.priv.PublicSubBean;
  -
  -import junit.framework.TestCase;
   import junit.framework.Test;
  +import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
  +import org.apache.commons.lang.reflect.priv.PrivateBeanFactory;
  +import org.apache.commons.lang.reflect.priv.PublicSubBean;
   
   /**
    * <p> Test case for <code>MethodUtils</code> </p>
  
  
  

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