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/datetime/src/org/apache/taglibs/datetime TimeZoneTag.java
Date Mon, 06 Nov 2000 01:19:41 GMT
glenn       00/11/05 17:19:40

  Modified:    datetime/src/org/apache/taglibs/datetime TimeZoneTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.4       +10 -9     jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZoneTag.java
  
  Index: TimeZoneTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZoneTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TimeZoneTag.java	2000/10/01 11:49:53	1.3
  +++ TimeZoneTag.java	2000/11/06 01:19:40	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZoneTag.java,v
1.3 2000/10/01 11:49:53 glenn Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/10/01 11:49:53 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/TimeZoneTag.java,v
1.4 2000/11/06 01:19:40 glenn Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/11/06 01:19:40 $
    *
    * ====================================================================
    *
  @@ -97,9 +97,9 @@
       /**
        * Method called at start of tag, always returns EVAL_BODY_TAG
        *
  -     * @return always returns EVAL_BODY_TAG
  +     * @return EVAL_BODY_TAG
        */
  -    public int doStartTag() throws JspException
  +    public final int doStartTag() throws JspException
       {
   	return EVAL_BODY_TAG;
       }
  @@ -107,9 +107,9 @@
       /**
        * Method called at end of timezone tag body.
        *
  -     * @return always returns SKIP_BODY
  +     * @return SKIP_BODY
        */
  -    public int doAfterBody() throws JspException
  +    public final int doAfterBody() throws JspException
       {
   	// Use the body of the tag as input for the date
   	BodyContent body = getBodyContent();
  @@ -121,15 +121,16 @@
   	if( tz == null )
   	    tz = TimeZone.getDefault();
   
  -	pageContext.setAttribute(id,tz,PageContext.SESSION_SCOPE);
  +	pageContext.setAttribute(id,tz,PageContext.PAGE_SCOPE);
   	return SKIP_BODY;
       }
   
       /**
        * Method called at end of Tag
  +     *
        * @return EVAL_PAGE
        */
  -    public int doEndTag() throws JspException
  +    public final int doEndTag() throws JspException
       {
   	return EVAL_PAGE;
       }
  
  
  

Mime
View raw message