incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-115) Change VariableManager.getValue to use reflection instead of a series of if statements
Date Wed, 26 Dec 2007 21:25:43 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554468
] 

Janne Jalkanen commented on JSPWIKI-115:
----------------------------------------

Good idea, but I think it might be a better to stick to the regular getXXX() conventions of
beans.  They *will* make life easier in the future.

> Change VariableManager.getValue to use reflection instead of a series of if statements
> --------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-115
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-115
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>            Reporter: Stephen Solka
>            Priority: Minor
>         Attachments: var_reflection.patch
>
>
> A fixme tag was on getValue about cleaning up how system variables were handled. Currently
a series of if else blocks goes through and designates a response for specific variables names.

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


Mime
View raw message