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 WeekdaysTEI.java
Date Mon, 06 Nov 2000 01:20:08 GMT
glenn       00/11/05 17:20:08

  Modified:    datetime/src/org/apache/taglibs/datetime WeekdaysTEI.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.2       +24 -14    jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTEI.java
  
  Index: WeekdaysTEI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTEI.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WeekdaysTEI.java	2000/09/29 16:13:57	1.1
  +++ WeekdaysTEI.java	2000/11/06 01:20:07	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTEI.java,v
1.1 2000/09/29 16:13:57 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/09/29 16:13:57 $
  + * $Header: /home/cvs/jakarta-taglibs/datetime/src/org/apache/taglibs/datetime/WeekdaysTEI.java,v
1.2 2000/11/06 01:20:07 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/06 01:20:07 $
    *
    * ====================================================================
    *
  @@ -64,19 +64,29 @@
   import javax.servlet.jsp.tagext.*;
   import org.apache.taglibs.datetime.*;
   
  +/**
  + * TagExtraInfo for <b>weekdays</b> tag, allows use of standard
  + * &lt;jsp:getProperty/&gt; with the <b>weekdays</b> tag script
  + * variable id.
  + *
  + * @see WeekdaysTag
  + *
  + * @author Glenn Nielsen
  + */
  +
   public class WeekdaysTEI extends TagExtraInfo
   {
   
  -  public VariableInfo[] getVariableInfo(TagData data)
  -  {
  -    return new VariableInfo[]
  +    public final VariableInfo[] getVariableInfo(TagData data)
       {
  -      new VariableInfo(
  -	data.getAttributeString("id"),
  -	"org.apache.taglibs.datetime.WeekdaysTag",
  -	true,
  -	VariableInfo.NESTED
  -      ),
  -    };
  -  }
  +	return new VariableInfo[]
  +	{
  +	    new VariableInfo(
  +		data.getAttributeString("id"),
  +		"org.apache.taglibs.datetime.WeekdaysTag",
  +		true,
  +		VariableInfo.NESTED
  +	    ),
  +	};
  +    }
   }
  
  
  

Mime
View raw message