You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@locus.apache.org on 2000/11/11 16:48:39 UTC

cvs commit: jakarta-taglibs/response/src/org/apache/taglibs/response AddDateHeaderTag.java

glenn       00/11/11 07:48:39

  Modified:    response/src/org/apache/taglibs/response
                        AddDateHeaderTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.3       +12 -7     jakarta-taglibs/response/src/org/apache/taglibs/response/AddDateHeaderTag.java
  
  Index: AddDateHeaderTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/response/src/org/apache/taglibs/response/AddDateHeaderTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AddDateHeaderTag.java	2000/09/30 04:12:40	1.2
  +++ AddDateHeaderTag.java	2000/11/11 15:48:39	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/response/src/org/apache/taglibs/response/AddDateHeaderTag.java,v 1.2 2000/09/30 04:12:40 glenn Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/09/30 04:12:40 $
  + * $Header: /home/cvs/jakarta-taglibs/response/src/org/apache/taglibs/response/AddDateHeaderTag.java,v 1.3 2000/11/11 15:48:39 glenn Exp $
  + * $Revision: 1.3 $
  + * $Date: 2000/11/11 15:48:39 $
    *
    * ====================================================================
    *
  @@ -77,7 +77,7 @@
    * <name>adddateheader</name>
    * <tagclass>org.apache.taglibs.response.AddDateHeaderTag</tagclass>
    * <bodycontent>JSP</bodycontent>
  - * <info>Used to add a single header.</info>
  + * <info>Add a single HTTP date header.</info>
    *   <attribute>
    *     <name>name</name>
    *     <required>true</required>
  @@ -97,7 +97,7 @@
        *
        * @return EVAL_BODY_TAG
        */
  -    public int doStartTag() throws JspException
  +    public final int doStartTag() throws JspException
       {
   	return EVAL_BODY_TAG;
       }
  @@ -107,7 +107,7 @@
        *
        * @return SKIP_BODY
        */
  -    public int doAfterBody() throws JspException
  +    public final int doAfterBody() throws JspException
       {
           // Use the body of the tag as header value
           BodyContent body = getBodyContent();
  @@ -128,7 +128,12 @@
           return SKIP_BODY;
       }
   
  -    public void setName(String nam)
  +    /**   
  +     * Required attribute, name of the header.
  +     *
  +     * @param String name
  +     */
  +    public final void setName(String nam)
       {
   	name = nam;
       }