You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2006/11/05 19:51:19 UTC
[jira] Updated: (VELOCITY-219) Velocity list operator should return
a Java List reference rather than ArrayList reference
[ http://issues.apache.org/jira/browse/VELOCITY-219?page=all ]
Henning Schmiedehausen updated VELOCITY-219:
--------------------------------------------
Bugzilla Id: (was: 24203)
Component/s: Engine
(was: Source)
Fix Version/s: 1.5
(was: 2.0)
Well it *does* return a List because ArrayList implements List. Or did I get this wrong. What method / code do you specifically refer to? It might make sense to fix that for 1.5 because if anyone really relies on the operator returning an ArrayList, they're screwed anyway. :-)
> 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