Organize imports

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-07-20 15:49:58 +00:00
parent 9af8bc1c40
commit 69756032f5
12 changed files with 31 additions and 18 deletions

View File

@ -53,8 +53,8 @@
*/
package org.apache.commons.lang;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* <p>Provides extra functionality for Java Number classes.</p>
@ -66,7 +66,7 @@ import java.math.BigDecimal;
* @author Eric Pugh
* @author Phil Steitz
* @since 1.0
* @version $Id: NumberUtils.java,v 1.12 2003/07/20 10:24:49 scolebourne Exp $
* @version $Id: NumberUtils.java,v 1.13 2003/07/20 15:49:58 scolebourne Exp $
*
* @deprecated Moved to org.apache.commons.lang.math.
* Class will be removed in Commons Lang 3.0.

View File

@ -55,6 +55,7 @@ package org.apache.commons.lang;
import java.io.IOException;
import java.io.Writer;
import org.apache.commons.lang.exception.NestableRuntimeException;
/**
@ -70,7 +71,7 @@ import org.apache.commons.lang.exception.NestableRuntimeException;
* @author <a href="sean@boohai.com">Sean Brown</a>
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @since 2.0
* @version $Id: StringEscapeUtils.java,v 1.17 2003/07/19 20:22:36 scolebourne Exp $
* @version $Id: StringEscapeUtils.java,v 1.18 2003/07/20 15:49:58 scolebourne Exp $
*/
public class StringEscapeUtils {

View File

@ -56,6 +56,7 @@ package org.apache.commons.lang.builder;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
/**
* <p><code>Equals</code> generation routines.</p>
*
@ -109,7 +110,7 @@ import java.lang.reflect.Modifier;
* @author Stephen Colebourne
* @author Gary Gregory
* @since 1.0
* @version $Id: EqualsBuilder.java,v 1.15 2003/07/20 01:11:05 ggregory Exp $
* @version $Id: EqualsBuilder.java,v 1.16 2003/07/20 15:49:58 scolebourne Exp $
*/
public class EqualsBuilder {
/**

View File

@ -56,6 +56,7 @@ package org.apache.commons.lang.builder;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
/**
* <p><code>HashCode</code> generation routines.</p>
*
@ -109,7 +110,7 @@ import java.lang.reflect.Modifier;
* @author Stephen Colebourne
* @author Gary Gregory
* @since 1.0
* @version $Id: HashCodeBuilder.java,v 1.14 2003/07/20 01:12:32 ggregory Exp $
* @version $Id: HashCodeBuilder.java,v 1.15 2003/07/20 15:49:58 scolebourne Exp $
*/
public class HashCodeBuilder {

View File

@ -60,6 +60,7 @@ import java.util.Map;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.SystemUtils;
/**
* <p><code>ToStringStyle</code> works with <code>ToStringBuilder</code>
* to create a <code>toString</code>. The main public interface is always
@ -84,7 +85,7 @@ import org.apache.commons.lang.SystemUtils;
* @author Stephen Colebourne
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @since 1.0
* @version $Id: ToStringStyle.java,v 1.16 2003/07/16 01:47:39 ggregory Exp $
* @version $Id: ToStringStyle.java,v 1.17 2003/07/20 15:49:58 scolebourne Exp $
*/
public abstract class ToStringStyle implements Serializable {

View File

@ -62,7 +62,9 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
/**
* <p>Abstract superclass for type-safe enums.</p>
*
@ -201,7 +203,7 @@ import org.apache.commons.lang.StringUtils;
* @author Chris Webb
* @author Mike Bowler
* @since 1.0
* @version $Id: Enum.java,v 1.14 2003/07/19 21:55:04 scolebourne Exp $
* @version $Id: Enum.java,v 1.15 2003/07/20 15:49:58 scolebourne Exp $
*/
public abstract class Enum implements Comparable, Serializable {
// After discussion, the default size for HashMaps is used, as the

View File

@ -55,6 +55,7 @@ package org.apache.commons.lang.enum;
import java.util.Iterator;
import java.util.List;
/**
* <p>Abstract superclass for type-safe enums with integer values suitable
* for use in <code>switch</code> statements.</p>
@ -130,7 +131,7 @@ import java.util.List;
* @author Apache Avalon project
* @author Stephen Colebourne
* @since 1.0
* @version $Id: ValuedEnum.java,v 1.7 2003/07/14 22:58:31 scolebourne Exp $
* @version $Id: ValuedEnum.java,v 1.8 2003/07/20 15:49:58 scolebourne Exp $
*/
public abstract class ValuedEnum extends Enum {
/**

View File

@ -65,6 +65,7 @@ import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.SystemUtils;
@ -78,7 +79,7 @@ import org.apache.commons.lang.SystemUtils;
* @author Stephen Colebourne
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @since 1.0
* @version $Id: ExceptionUtils.java,v 1.25 2003/07/14 22:22:46 bayard Exp $
* @version $Id: ExceptionUtils.java,v 1.26 2003/07/20 15:49:58 scolebourne Exp $
*/
public class ExceptionUtils {

View File

@ -57,7 +57,11 @@ import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.Serializable;
import java.io.StringWriter;
import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
/**
* <code>NestableDelegate</code> is a shared implementation of the nestable
@ -75,7 +79,7 @@ import java.util.*;
* @author Sean C. Sullivan
* @author Stephen Colebourne
* @since 1.0
* @version $Id: NestableDelegate.java,v 1.14 2003/06/10 06:16:54 scolebourne Exp $
* @version $Id: NestableDelegate.java,v 1.15 2003/07/20 15:49:58 scolebourne Exp $
*/
public class NestableDelegate implements Serializable {

View File

@ -55,7 +55,8 @@ package org.apache.commons.lang;
import java.util.Random;
import junit.framework.*;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
/**
@ -64,7 +65,7 @@ import junit.textui.TestRunner;
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
* @author Phil Steitz
* @version $Id: RandomStringUtilsTest.java,v 1.7 2003/06/09 21:36:03 scolebourne Exp $
* @version $Id: RandomStringUtilsTest.java,v 1.8 2003/07/20 15:49:58 scolebourne Exp $
*/
public class RandomStringUtilsTest extends junit.framework.TestCase {
/**

View File

@ -56,7 +56,6 @@ package org.apache.commons.lang;
import java.util.Arrays;
import java.util.Iterator;
import junit.framework.AssertionFailedError;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
@ -72,7 +71,7 @@ import junit.textui.TestRunner;
* @author <a href="mailto:fredrik@westermarck.com>Fredrik Westermarck</a>
* @author Holger Krauth
* @author <a href="hps@intermeta.de">Henning P. Schmiedehausen</a>
* @version $Id: StringUtilsTest.java,v 1.34 2003/07/20 15:41:52 scolebourne Exp $
* @version $Id: StringUtilsTest.java,v 1.35 2003/07/20 15:49:58 scolebourne Exp $
*/
public class StringUtilsTest extends TestCase {

View File

@ -57,17 +57,18 @@ package org.apache.commons.lang.builder;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.commons.lang.SystemUtils;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import org.apache.commons.lang.SystemUtils;
/**
* Unit tests {@link org.apache.commons.lang.ToStringStyle}.
*
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
* @version $Id: MultiLineToStringStyleTest.java,v 1.3 2003/05/21 23:49:15 scolebourne Exp $
* @version $Id: MultiLineToStringStyleTest.java,v 1.4 2003/07/20 15:49:57 scolebourne Exp $
*/
public class MultiLineToStringStyleTest extends TestCase {