You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@locus.apache.org on 2000/12/07 20:31:02 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionError.java ActionErrors.java

craigmcc    00/12/07 11:31:02

  Modified:    src/share/org/apache/struts/action ActionError.java
                        ActionErrors.java
  Log:
  Make ActionError and ActionErrors serializable, and remove the "final"
  modifier on ActionError so that it can be subclassed if desired.
  
  Revision  Changes    Path
  1.2       +8 -5      jakarta-struts/src/share/org/apache/struts/action/ActionError.java
  
  Index: ActionError.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ActionError.java	2000/10/12 21:51:00	1.1
  +++ ActionError.java	2000/12/07 19:31:01	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v 1.1 2000/10/12 21:51:00 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/10/12 21:51:00 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v 1.2 2000/12/07 19:31:01 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/12/07 19:31:01 $
    *
    * ====================================================================
    *
  @@ -63,6 +63,9 @@
   package org.apache.struts.action;
   
   
  +import java.io.Serializable;
  +
  +
   /**
    * An encapsulation of an individual error message returned by the
    * <code>validate()</code> method of an <code>ActionForm</code>, consisting
  @@ -71,10 +74,10 @@
    * be used for parametric replacement in the message text.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/10/12 21:51:00 $
  + * @version $Revision: 1.2 $ $Date: 2000/12/07 19:31:01 $
    */
   
  -public final class ActionError {
  +public class ActionError implements Serializable {
   
   
       // ----------------------------------------------------------- Constructors
  
  
  
  1.2       +6 -5      jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java
  
  Index: ActionErrors.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ActionErrors.java	2000/10/12 21:51:00	1.1
  +++ ActionErrors.java	2000/12/07 19:31:01	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java,v 1.1 2000/10/12 21:51:00 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/10/12 21:51:00 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java,v 1.2 2000/12/07 19:31:01 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/12/07 19:31:01 $
    *
    * ====================================================================
    *
  @@ -63,6 +63,7 @@
   package org.apache.struts.action;
   
   
  +import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.HashMap;
  @@ -88,10 +89,10 @@
    *
    * @author David Geary
    * @author Craig R. McClanahan
  - * @revision $Revision: 1.1 $ $Date: 2000/10/12 21:51:00 $
  + * @revision $Revision: 1.2 $ $Date: 2000/12/07 19:31:01 $
    */
   
  -public class ActionErrors {
  +public class ActionErrors implements Serializable {
   
   
       // ----------------------------------------------------- Manifest Constants