You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2002/10/11 13:50:28 UTC

Re: cvs commit: jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/template TemplateEmail.java

jmcnally@apache.org writes:

>  +    private List headersList;
>  +    public TemplateEmail addHeader(String name, String value)
>  +    {
>  +        String[] pair = new String[2];
>  +        pair[0] = name;
>  +        pair[1] = value;
>  +        if (headersList == null) 
>  +        {
>  +            headersList = new ArrayList(3);
>  +        }        
>  +        headersList.add(pair);
>  +        return this;
>  +    }

How I _hate_ things like this. Jon S. Stevens, where is the style police?

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>