commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly ParameterNameTag.java ParameterValueTag.java
Date Fri, 18 Oct 2002 20:04:10 GMT
morgand     2002/10/18 13:04:10

  Modified:    latka/src/java/org/apache/commons/latka/jelly
                        ParameterNameTag.java ParameterValueTag.java
  Log:
  fixed incorrect param setters
  
  Revision  Changes    Path
  1.2       +4 -10     jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/ParameterNameTag.java
  
  Index: ParameterNameTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/ParameterNameTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParameterNameTag.java	14 Oct 2002 16:34:01 -0000	1.1
  +++ ParameterNameTag.java	18 Oct 2002 20:04:10 -0000	1.2
  @@ -74,8 +74,6 @@
    */
   public class ParameterNameTag extends TagSupport {
   
  -    protected String _paramName = null;
  -
       /**
        *  
        *
  @@ -87,12 +85,8 @@
           invokeBody(xmlOutput);
   
           ParameterTag tag = (ParameterTag) findAncestorWithClass(ParameterTag.class);
  -        tag.setParamName(_paramName);
  -
  -    }
  +        tag.setParamName(getBodyText().trim());
   
  -    public void setParamName(String paramName) {
  -        _paramName = null;
       }
   
   }
  
  
  
  1.2       +4 -10     jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/ParameterValueTag.java
  
  Index: ParameterValueTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/ParameterValueTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParameterValueTag.java	14 Oct 2002 16:34:01 -0000	1.1
  +++ ParameterValueTag.java	18 Oct 2002 20:04:10 -0000	1.2
  @@ -74,8 +74,6 @@
    */
   public class ParameterValueTag extends TagSupport {
   
  -    protected String _paramValue = null;
  -
       /**
        *  
        *
  @@ -87,12 +85,8 @@
           invokeBody(xmlOutput);
   
           ParameterTag tag = (ParameterTag) findAncestorWithClass(ParameterTag.class);
  -        tag.setParamValue(_paramValue);
  -
  -    }
  +        tag.setParamValue(getBodyText().trim());
   
  -    public void setParamValue(String paramValue) {
  -        _paramValue = null;
       }
   
   }
  
  
  

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