struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/digester CallMethodRule.java CallParamRule.java
Date Sun, 13 Aug 2000 04:40:04 GMT
craigmcc    00/08/12 21:40:04

  Modified:    src/share/org/apache/struts/digester CallMethodRule.java
                        CallParamRule.java
  Log:
  Do not wipe out the body text if attributeName is non-null.  It will have
  been set properly in the begin() method.
  
  Submitted by:	Arno Schumacher <arno.schumacher@brokat.com
  
  Revision  Changes    Path
  1.4       +4 -6      jakarta-struts/src/share/org/apache/struts/digester/CallMethodRule.java
  
  Index: CallMethodRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallMethodRule.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CallMethodRule.java	2000/08/01 20:03:29	1.3
  +++ CallMethodRule.java	2000/08/13 04:40:03	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallMethodRule.java,v
1.3 2000/08/01 20:03:29 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/08/01 20:03:29 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallMethodRule.java,v
1.4 2000/08/13 04:40:03 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/08/13 04:40:03 $
    *
    * ====================================================================
    * 
  @@ -75,7 +75,7 @@
    * element.
    *
    * @author Craig McClanahan
  - * @version $Revision: 1.3 $ $Date: 2000/08/01 20:03:29 $
  + * @version $Revision: 1.4 $ $Date: 2000/08/13 04:40:03 $
    */
   
   public final class CallMethodRule extends Rule {
  @@ -201,8 +201,6 @@
   
   	if (paramCount == 0)
   	    this.bodyText = bodyText;
  -	else
  -	    this.bodyText = null;
   
       }
   
  
  
  
  1.3       +4 -6      jakarta-struts/src/share/org/apache/struts/digester/CallParamRule.java
  
  Index: CallParamRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallParamRule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CallParamRule.java	2000/08/01 20:03:29	1.2
  +++ CallParamRule.java	2000/08/13 04:40:03	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallParamRule.java,v
1.2 2000/08/01 20:03:29 craigmcc Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/08/01 20:03:29 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/CallParamRule.java,v
1.3 2000/08/13 04:40:03 craigmcc Exp $
  + * $Revision: 1.3 $
  + * $Date: 2000/08/13 04:40:03 $
    *
    * ====================================================================
    * 
  @@ -73,7 +73,7 @@
    * by a surrounding CallMethodRule rule.
    *
    * @author Craig McClanahan
  - * @version $Revision: 1.2 $ $Date: 2000/08/01 20:03:29 $
  + * @version $Revision: 1.3 $ $Date: 2000/08/13 04:40:03 $
    */
   
   public final class CallParamRule extends Rule {
  @@ -160,8 +160,6 @@
   
   	if (attributeName == null)
   	    this.bodyText = bodyText.trim();
  -	else
  -	    this.bodyText = null;
   
       }
   
  
  
  

Mime
View raw message