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 2002/12/23 01:32:24 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang Validate.java CharSetUtils.java CharSet.java NotifierException.java BooleanUtils.java RandomStringUtils.java CharRange.java SystemUtils.java NumberRange.java NumberUtils.java ClassUtils.java ObjectUtils.java Notifier.java ArrayUtils.java StringUtils.java

scolebourne    2002/12/22 16:32:24

  Modified:    lang/src/java/org/apache/commons/lang Validate.java
                        CharSetUtils.java CharSet.java
                        NotifierException.java BooleanUtils.java
                        RandomStringUtils.java CharRange.java
                        SystemUtils.java NumberRange.java NumberUtils.java
                        ClassUtils.java ObjectUtils.java Notifier.java
                        ArrayUtils.java StringUtils.java
  Log:
  Add since tags
  
  Revision  Changes    Path
  1.2       +2 -1      jakarta-commons/lang/src/java/org/apache/commons/lang/Validate.java
  
  Index: Validate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/Validate.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Validate.java	13 Dec 2002 17:21:56 -0000	1.1
  +++ Validate.java	23 Dec 2002 00:32:24 -0000	1.2
  @@ -69,6 +69,7 @@
    *
    * @author <a href="mailto:ola.berg@arkitema.se">Ola Berg</a>
    * @author Stephen Colebourne
  + * @since 2.0
    * @version $Id$
    */
   public class Validate {
  
  
  
  1.8       +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/CharSetUtils.java
  
  Index: CharSetUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharSetUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- CharSetUtils.java	16 Nov 2002 10:41:03 -0000	1.7
  +++ CharSetUtils.java	23 Dec 2002 00:32:24 -0000	1.8
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,12 +51,14 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   /**
    * <p>Numerous routines to manipulate a <code>CharSet</code>.</p>
    *
    * @author <a href="bayard@generationjava.com">Henri Yandell</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 1.0
    * @version $Id$
    */
   public class CharSetUtils {
  
  
  
  1.7       +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/CharSet.java
  
  Index: CharSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharSet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CharSet.java	16 Nov 2002 10:41:03 -0000	1.6
  +++ CharSet.java	23 Dec 2002 00:32:24 -0000	1.7
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   import java.util.Iterator;
   import java.util.LinkedList;
  @@ -63,7 +62,8 @@
    * set.</p>
    *
    * @author <a href="bayard@generationjava.com">Henri Yandell</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 1.0
    * @version $Id$
    */
   public class CharSet {
  
  
  
  1.3       +2 -1      jakarta-commons/lang/src/java/org/apache/commons/lang/NotifierException.java
  
  Index: NotifierException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/NotifierException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NotifierException.java	16 Nov 2002 10:41:03 -0000	1.2
  +++ NotifierException.java	23 Dec 2002 00:32:24 -0000	1.3
  @@ -59,6 +59,7 @@
    * <p>Exception thrown when something goes wrong in notifying.</p>
    *
    * @author <a href="mailto:bayard@apache.org">Henri Yandell</a>
  + * @since 2.0
    * @version $Id$
    */
   public class NotifierException extends NestableException {
  
  
  
  1.3       +2 -1      jakarta-commons/lang/src/java/org/apache/commons/lang/BooleanUtils.java
  
  Index: BooleanUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/BooleanUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BooleanUtils.java	22 Dec 2002 21:33:12 -0000	1.2
  +++ BooleanUtils.java	23 Dec 2002 00:32:24 -0000	1.3
  @@ -58,6 +58,7 @@
    * boolean and Boolean objects.</p>
    *
    * @author Stephen Colebourne
  + * @since 2.0
    * @version $Id$
    */
   public class BooleanUtils {
  
  
  
  1.7       +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/RandomStringUtils.java
  
  Index: RandomStringUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/RandomStringUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RandomStringUtils.java	16 Nov 2002 10:41:03 -0000	1.6
  +++ RandomStringUtils.java	23 Dec 2002 00:32:24 -0000	1.7
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   import java.util.Random;
   /**
  @@ -62,7 +61,8 @@
    *
    * @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a>
    * @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 1.0
    * @version $Id$
    */
   public class RandomStringUtils {
  
  
  
  1.3       +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/CharRange.java
  
  Index: CharRange.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharRange.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CharRange.java	16 Nov 2002 10:41:03 -0000	1.2
  +++ CharRange.java	23 Dec 2002 00:32:24 -0000	1.3
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   /**
    * <p>A range of characters. Able to understand the idea of a contiguous
  @@ -61,7 +60,8 @@
    * <p>Used by <code>CharSet</code> to handle sets of characters.</p>
    *
    * @author <a href="bayard@generationjava.com">Henri Yandell</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 1.0
    * @version $Id$
    */
   class CharRange {
  
  
  
  1.7       +3 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
  
  Index: SystemUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SystemUtils.java	8 Dec 2002 16:18:39 -0000	1.6
  +++ SystemUtils.java	23 Dec 2002 00:32:24 -0000	1.7
  @@ -58,8 +58,9 @@
    *
    * @author Based on code from Avalon Excalibur
    * @author Based on code from Lucene
  - * @author <a href="mailto:scolebourne@apache.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
    * @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
  + * @since 1.0
    * @version $Id$
    */
   public class SystemUtils {
  
  
  
  1.5       +4 -1      jakarta-commons/lang/src/java/org/apache/commons/lang/NumberRange.java
  
  Index: NumberRange.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/NumberRange.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- NumberRange.java	21 Dec 2002 14:22:11 -0000	1.4
  +++ NumberRange.java	23 Dec 2002 00:32:24 -0000	1.5
  @@ -62,7 +62,10 @@
    *
    * @author <a href="mailto:chrise@esha.com">Christopher Elkins</a>
    * @author Stephen Colebourne
  + * @since 1.0
    * @version $Revision$ $Date$
  + * 
  + * @deprecated Use one of the Range classes in org.apache.commons.lang.math
    */
   public final class NumberRange {
   
  
  
  
  1.6       +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/NumberUtils.java
  
  Index: NumberUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/NumberUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NumberUtils.java	15 Dec 2002 16:53:28 -0000	1.5
  +++ NumberUtils.java	23 Dec 2002 00:32:24 -0000	1.6
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   import java.math.BigInteger;
   import java.math.BigDecimal;
  @@ -61,8 +60,9 @@
    *
    * @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a>
    * @author <a href="mailto:rand_mcneely@yahoo.com">Rand McNeely</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
    * @author <a href="mailto:steve.downey@netfolio.com">Steve Downey</a>
  + * @since 1.0
    * @version $Id$
    */
   public final class NumberUtils {
  
  
  
  1.7       +3 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java
  
  Index: ClassUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ClassUtils.java	15 Dec 2002 19:36:08 -0000	1.6
  +++ ClassUtils.java	23 Dec 2002 00:32:24 -0000	1.7
  @@ -60,7 +60,8 @@
    * <p><code>ClassUtils</code> contains utility methods for working for
    * classes without using reflection.</p>
    *
  - * @author <a href="mailto:scolebourne@apache.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 2.0
    * @version $Id$
    */
   public class ClassUtils {
  
  
  
  1.6       +3 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java
  
  Index: ObjectUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ObjectUtils.java	16 Nov 2002 10:41:03 -0000	1.5
  +++ ObjectUtils.java	23 Dec 2002 00:32:24 -0000	1.6
  @@ -60,7 +60,8 @@
    * @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
    * @author <a href="mailto:janekdb@yahoo.co.uk">Janek Bogucki</a>
    * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
  + * @since 1.0
    * @version $Id$
    */
   public class ObjectUtils {
  
  
  
  1.5       +4 -0      jakarta-commons/lang/src/java/org/apache/commons/lang/Notifier.java
  
  Index: Notifier.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/Notifier.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Notifier.java	25 Nov 2002 17:35:57 -0000	1.4
  +++ Notifier.java	23 Dec 2002 00:32:24 -0000	1.5
  @@ -70,6 +70,10 @@
    * <p>Alternate strategies are usable. For example this class currently
    * does not enforce a particular interface, which means it cannot 
    * cache that method. Doing this probably makes a lot of sense.</p>
  + * 
  + * @author Henri Yandell
  + * @since 2.0
  + * @version $Id$
    */
   public class Notifier {
   
  
  
  
  1.7       +3 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java
  
  Index: ArrayUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ArrayUtils.java	24 Nov 2002 16:50:38 -0000	1.6
  +++ ArrayUtils.java	23 Dec 2002 00:32:24 -0000	1.7
  @@ -64,9 +64,10 @@
    * <p><code>ArrayUtils</code> contains utility methods for working for
    * arrays.</p>
    *
  - * @author <a href="mailto:scolebourne@apache.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
    * @author Moritz Petersen
    * @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>
  + * @since 2.0
    * @version $Id$
    */
   public class ArrayUtils {
  
  
  
  1.30      +4 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java
  
  Index: StringUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- StringUtils.java	15 Dec 2002 16:54:23 -0000	1.29
  +++ StringUtils.java	23 Dec 2002 00:32:24 -0000	1.30
  @@ -1,5 +1,3 @@
  -package org.apache.commons.lang;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang;
   
   import java.util.StringTokenizer;
   import java.util.Iterator;
  @@ -72,8 +71,9 @@
    * @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a>
    * @author <a href="mailto:ed@apache.org">Ed Korthof</a>
    * @author <a href="mailto:rand_mcneely@yahoo.com">Rand McNeely</a>
  - * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  + * @author Stephen Colebourne
    * @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>
  + * @since 1.0
    * @version $Id$
    */
   public class StringUtils {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>