XStream
  1. XStream
  2. XSTR-49

IntConverter shalöl use decode() instead of parseInt()

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: Converters
    • Labels:
      None

      Description

      I propose to change line 10 of class:

      com.thoughtworks.xstream.converters.basic.IntConverter
      to be:

      return Integer.decode(str);

      This will allow hexadecimal syntax in deserealisation
      ( and octal too )

        People

        • Assignee:
          Unassigned
          Reporter:
          Konstantin Pribluda
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: