jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@locus.apache.org
Subject cvs commit: jakarta-taglibs/request/src/org/apache/taglibs/request CookieTag.java
Date Fri, 03 Nov 2000 12:48:01 GMT
glenn       00/11/03 04:48:00

  Modified:    request/src/org/apache/taglibs/request CookieTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.2       +9 -7      jakarta-taglibs/request/src/org/apache/taglibs/request/CookieTag.java
  
  Index: CookieTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/CookieTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CookieTag.java	2000/09/24 00:00:08	1.1
  +++ CookieTag.java	2000/11/03 12:47:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/CookieTag.java,v
1.1 2000/09/24 00:00:08 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/09/24 00:00:08 $
  + * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/CookieTag.java,v
1.2 2000/11/03 12:47:58 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/03 12:47:58 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * <name>cookie</name>
    * <tagclass>org.apache.taglibs.request.CookieTag</tagclass>
    * <bodycontent>empty</bodycontent>
  - * <info>Used to get the value of a single request cookie.</info>
  + * <info>Get the value of a single request cookie.</info>
    *   <attribute>
    *     <name>name</name>
    *     <required>true</required>
  @@ -88,6 +88,7 @@
   
   public class CookieTag extends TagSupport
   {
  +    // Name of cookie
       private String name = null;
   
       /**
  @@ -95,7 +96,7 @@
        *
        * @return EVAL_PAGE
        */
  -    public int doEndTag() throws JspException
  +    public final int doEndTag() throws JspException
       {
   	String value = null;
   
  @@ -127,10 +128,11 @@
       }
   
       /**
  -     * Set the name of the cookie to get.
  +     * Set the required tag attribute <b>name</b>.
        *
  +     * @param String name of cookie
        */
  -    public void setName(String str)
  +    public final void setName(String str)
       {
   	name = str;
       }
  
  
  

Mime
View raw message