You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "John Lindal (JIRA)" <ji...@apache.org> on 2011/01/30 20:15:43 UTC

[jira] Resolved: (WW-3496) StubValueStack.findValue(expr,throw) calls itself

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

John Lindal resolved WW-3496.
-----------------------------

    Resolution: Fixed

> StubValueStack.findValue(expr,throw) calls itself
> -------------------------------------------------
>
>                 Key: WW-3496
>                 URL: https://issues.apache.org/jira/browse/WW-3496
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Value Stack
>    Affects Versions: 2.2.1
>            Reporter: John Lindal
>            Assignee: John Lindal
>            Priority: Minor
>
> The code in 2.2.1 is:
>     public Object findValue(String expr) {
>         return ctx.get(expr);
>     }
>     public Object findValue(String expr, boolean throwExceptionOnFailure) {
>         return findValue(expr, false);
>     }
> I'm pretty sure it ought to be:
>     public Object findValue(String expr) {
>         return findValue(expr, false);
>     }
>     public Object findValue(String expr, boolean throwExceptionOnFailure) {
>         return ctx.get(expr);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.