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/regexp/src/org/apache/taglibs/regexp SplitTEI.java
Date Mon, 06 Nov 2000 13:54:34 GMT
glenn       00/11/06 05:54:34

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

Mime
View raw message