XStream
  1. XStream
  2. XSTR-721

More lenient enum constant parsing

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.5
    • Component/s: Core
    • Labels:
      None

      Description

      In Java, a convention is to define enum constants in all upper case, but for the purpose of reading existing code and evolving String fields into enums, it's nice if XStream allows case-insensitive match if the exact match is not found.

      1. XSTR-721.diff
        1 kB
        Kohsuke Kawaguchi

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Kohsuke Kawaguchi
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: