[
https://issues.apache.org/jira/browse/OGNL-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Pitts updated OGNL-21:
-----------------------------
Labels: cleanup (was: )
Description:
I noticed there are some apparently unnecessary methods in both SimpleNode and
OgnlRuntime.
I've created a patch which removes them, and the unit tests still run fine.
One of the methods was clearly buggy and would cause ClassCastExceptions if
used (it put an array into a cache which was used to also store Maps).
Summary: Remove dead and broken code from OgnlRuntime/SimpleNode (was:
Remove dead and broken code from OgnlRuntime/Simple)
> Remove dead and broken code from OgnlRuntime/SimpleNode
> -------------------------------------------------------
>
> Key: OGNL-21
> URL: https://issues.apache.org/jira/browse/OGNL-21
> Project: OGNL
> Issue Type: Task
> Reporter: Daniel Pitts
> Labels: cleanup
> Attachments: Remove-dead-code.patch
>
>
> I noticed there are some apparently unnecessary methods in both SimpleNode
> and OgnlRuntime.
> I've created a patch which removes them, and the unit tests still run fine.
> One of the methods was clearly buggy and would cause ClassCastExceptions if
> used (it put an array into a cache which was used to also store Maps).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira