Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-983

About the string representations of maps, lists, and arrays

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-3
    • Fix Version/s: 1.0-JSR-3
    • Component/s: None
    • Labels:
      None

      Description

      Here are some problems about the string representations of maps, lists, and arrays.

      1. The brackets "[" and "]" in the string representation of an array can not be
      distinguished from The bracket "[" and "]" in string representation of a list.
      So it is better that they are changed to the braces "

      {" and "}".

      2. The braces "{" and "}

      " in the string representation of a map is not
      the groovy's syntax for map literal.
      So it is better that they are changed to the brackets "[" and "]".

      3. The representation of string keys or elements are bad.
      So it is better that they are enclosed the double quatation marks.

      For details, check the attached file.

        Attachments

        1. compareResult.html
          10 kB
          Kim, Pilho

          Activity

            People

            • Assignee:
              phkim Kim, Pilho
              Reporter:
              phkim Kim, Pilho
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: