commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/identifier/factory StringIncrementingVLongIdentifierFactory.java
Date Wed, 17 Jul 2002 22:32:43 GMT
scolebourne    2002/07/17 15:32:42

  Modified:    pattern/src/java/org/apache/commons/pattern/factory
                        FactoryUtils.java
               pattern/src/java/org/apache/commons/pattern/identifier/factory
                        StringIncrementingVLongIdentifierFactory.java
  Log:
  [Lang] classnames changed
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/FactoryUtils.java
  
  Index: FactoryUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/FactoryUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FactoryUtils.java	29 Jun 2002 17:06:54 -0000	1.5
  +++ FactoryUtils.java	17 Jul 2002 22:32:42 -0000	1.6
  @@ -58,8 +58,8 @@
   import java.lang.reflect.InvocationTargetException;
   import java.lang.reflect.Method;
   
  -import org.apache.commons.lang.Serialization;
   import org.apache.commons.lang.SerializationException;
  +import org.apache.commons.lang.SerializationUtils;
   /**
    * <code>FactoryUtils</code> provides reference implementations and utilities
    * for the Factory pattern interface. The supplied factories are:
  @@ -287,7 +287,7 @@
            */
           public Object create() {
               try {
  -                return Serialization.clone(iPrototype);
  +                return SerializationUtils.clone(iPrototype);
                   
               } catch (SerializationException ex) {
                   throw new FactoryException("PrototypeSerializationFactory: Unable to clone
by serialization", ex);
  
  
  
  1.2       +2 -3      jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/identifier/factory/StringIncrementingVLongIdentifierFactory.java
  
  Index: StringIncrementingVLongIdentifierFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/identifier/factory/StringIncrementingVLongIdentifierFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StringIncrementingVLongIdentifierFactory.java	29 Jun 2002 21:42:09 -0000	1.1
  +++ StringIncrementingVLongIdentifierFactory.java	17 Jul 2002 22:32:42 -0000	1.2
  @@ -55,11 +55,10 @@
   
   import java.io.Serializable;
   
  -import org.apache.commons.lang.Strings;
   import org.apache.commons.pattern.factory.Factory;
   import org.apache.commons.pattern.identifier.IdentifierFactoryException;
   /**
  - * <code>IncrementingBigStringIdentifierFactory</code> is an Identifier Factory
  + * <code>StringIncrementingVLongIdentifierFactory</code> is an Identifier Factory
    * that generates an incrementing number as a two Long objects.
    *
    * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
  
  
  

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


Mime
View raw message