Groovy
  1. Groovy
  2. GROOVY-3252

Fix DGM toString for Map and Collection

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6-rc-1
    • Fix Version/s: 1.6-rc-2
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      In Groovy code, the toString() method does not produce a Groovy formatted string for Map or Collection.

      The problem is that the toString(Map) and toString(Collection) methods can't work because they're declared on interfaces and DGM methods must be declared on an implementation class in order to be dispatched.

        Activity

        James P. White created issue -
        James P. White made changes -
        Field Original Value New Value
        Assignee Jim White [ jimwhite ]
        James P. White made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        James P. White made changes -
        Attachment patch-tostring-public.txt [ 39154 ]
        James P. White made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        James P. White made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        James P. White made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        James P. White made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12732249 ] Default workflow, editable Closed status [ 12740843 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12967189 ] Default workflow, editable Closed status [ 12974785 ]

          People

          • Assignee:
            James P. White
            Reporter:
            James P. White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development