You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2018/04/29 13:15:00 UTC

[jira] [Commented] (JEXL-258) JEXL unset method

    [ https://issues.apache.org/jira/browse/JEXL-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458018#comment-16458018 ] 

Henri Biestro commented on JEXL-258:
------------------------------------

Since a JexlContext is usually backed up by a map, I'd suggest removing the entry from the map. In any case, JexlContext is just an interface so whatever implementation need you may have is completely up to you.

> JEXL unset method
> -----------------
>
>                 Key: JEXL-258
>                 URL: https://issues.apache.org/jira/browse/JEXL-258
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Osy
>            Priority: Minor
>
> Currently we have a set method to put in context a new expresion variable.
>   
> *void org.apache.commons.jexl3.JexlContext.set(String arg0, Object arg1)*
>  
>  However, I have the need of clean some variables for each Iteration, so please analyze if is possible to add an unset method to do the opposite action to set method.
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)