You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2016/07/13 09:35:20 UTC

[jira] [Resolved] (VELOCITY-266) change AbstractContext.internalRemove() to have consistent key type

     [ https://issues.apache.org/jira/browse/VELOCITY-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Brisson resolved VELOCITY-266.
-------------------------------------
    Resolution: Fixed

> change AbstractContext.internalRemove() to have consistent key type
> -------------------------------------------------------------------
>
>                 Key: VELOCITY-266
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-266
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.0-Release
>         Environment: Operating System: other
> Platform: All
>            Reporter: Gerard Oberle
>            Priority: Trivial
>             Fix For: 2.x
>
>
> org.apache.velocity.context.AbstractContext.internalRemove(Object key) uses an 
> argument type of java.lang.Object for the key.  This is inconsistent with other 
> methods (internalGet, internalPut, internalContainsKey), which all use a type 
> of java.lang.String for the key.
> Of course, this will probably require deprecating it, but maybe there's still 
> time to fix it, assuming few users have implemented their own.
> - Jerry Oberle
> perl -e 'printf "%silto%c%sberle%cearthlink%cnet%c", "ma", 58, "go", 64, 46, 
> 10;' # Sorry but I do not know whether spammers can harvest addresses from here



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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