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/factory FactoryException.java FactoryUtils.java Factory.java
Date Thu, 27 Jun 2002 21:44:01 GMT
scolebourne    2002/06/27 14:44:01

  Modified:    pattern/src/java/org/apache/commons/pattern/factory
                        FactoryException.java FactoryUtils.java
                        Factory.java
  Log:
  Tidy classes to coding standards
  
  Revision  Changes    Path
  1.2       +2 -4      jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/FactoryException.java
  
  Index: FactoryException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/FactoryException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FactoryException.java	26 Jun 2002 22:46:01 -0000	1.1
  +++ FactoryException.java	27 Jun 2002 21:44:00 -0000	1.2
  @@ -1,5 +1,3 @@
  -package org.apache.commons.pattern.factory;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,9 +51,9 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.pattern.factory;
   
   import org.apache.commons.lang.exception.NestableRuntimeException;
  -
   /**
    * Exception thrown when the a Factory cannot create the object as requested.
    * If required, a root cause error can be wrapped within this one.
  
  
  
  1.2       +8 -3      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FactoryUtils.java	26 Jun 2002 22:46:01 -0000	1.1
  +++ FactoryUtils.java	27 Jun 2002 21:44:00 -0000	1.2
  @@ -66,10 +66,15 @@
   
   import org.apache.commons.lang.Serialization;
   import org.apache.commons.lang.SerializationException;
  -
   /**
    * <code>FactoryUtils</code> provides reference implementations and utilities
  - * for the Factory pattern interface.
  + * for the Factory pattern interface. The supplied factories are:
  + * <ul>
  + * <li>NullFactory - A factory that always returns null
  + * <li>ConstantFactory - A factory that always returns the same object
  + * <li>PrototypeFactory - A factory that clones a specified object
  + * <li>ReflectionFactory - A factory that creates objects using reflection
  + * </ul>
    *
    * @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
    * @version $Id$
  
  
  
  1.2       +2 -4      jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/Factory.java
  
  Index: Factory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/factory/Factory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Factory.java	26 Jun 2002 22:46:01 -0000	1.1
  +++ Factory.java	27 Jun 2002 21:44:00 -0000	1.2
  @@ -1,5 +1,3 @@
  -package org.apache.commons.pattern.factory;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -53,7 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  -
  +package org.apache.commons.pattern.factory;
   
   /**
    * <code>Factory</code> defines an interface implemented by classes that
  
  
  

--
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