JSPWiki
  1. JSPWiki
  2. JSPWIKI-115

Change VariableManager.getValue to use reflection instead of a series of if statements

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: Core & storage
    • Labels:
      None

      Description

      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.

      1. var_reflection_wGets.patch
        11 kB
        Stephen Solka
      2. var_reflection.patch
        11 kB
        Stephen Solka

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Stephen Solka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development