Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-691

ExprLookup only works for expressions that evaluate to strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • Interpolation
    • None

    Description

      ExprLookup only works when the expression evaluates to a string. The doLookup(...) method casts the result to a string, which triggers a ClassCastException when it isn't.

      This is unnecessary. The Lookup interface allows for any object to be returned. Also, non-string expressions are entirely useful.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spaligo Steven Paligo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: