You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Daniel Rall (JIRA)" <ji...@apache.org> on 2006/11/08 23:44:53 UTC

[jira] Commented: (VELOCITY-219) Velocity list operator should return a Java List reference rather than ArrayList reference

    [ http://issues.apache.org/jira/browse/VELOCITY-219?page=comments#action_12448304 ] 
            
Daniel Rall commented on VELOCITY-219:
--------------------------------------

In the previous comment, Henning must've been referring to the commit he made in r471881.  While the changes from that commit were all good improvements, they were also all internal.  While it's been so long since I filed this remdiner issue for myself that I don't recall exactly what prompted it, I am sure that it was caused by the presence of ArrayList in some public API.

> Velocity list operator should return a Java List reference rather than ArrayList reference
> ------------------------------------------------------------------------------------------
>
>                 Key: VELOCITY-219
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-219
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Operating System: All
> Platform: All
>            Reporter: Daniel Rall
>            Priority: Minor
>             Fix For: 1.5
>
>
> In the 1.x releases of Velocity, the list operator [] returns an ArrayList
> reference instead of a List reference.  In the future (2.x), a cleaner API would
> be to return a List reference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org