Groovy
  1. Groovy
  2. GROOVY-4949

Groovy should provide CharSequence variants for most its DGM String methods

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.9-beta-1
    • Fix Version/s: 1.8.2, 1.9-beta-3
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      E.g. I should be able to call ".size()" on a CharSequence

        Activity

        paulk@asert.com.au created issue -
        Paul King made changes -
        Field Original Value New Value
        Summary Groovy should provide CharSequence variants for most its String methods Groovy should provide CharSequence variants for most its DGM String methods
        Hide
        Paul King added a comment -

        DGM methods added but no tests yet - most simply call the String variants so in theory functionality should be ok. No Process method String variants were added.

        Show
        Paul King added a comment - DGM methods added but no tests yet - most simply call the String variants so in theory functionality should be ok. No Process method String variants were added.
        Paul King made changes -
        Fix Version/s 1.8.2 [ 17495 ]
        Component/s groovy-jdk [ 10750 ]
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Affects Version/s 1.9-beta-1 [ 17153 ]
        Affects Version/s 1.8.1 [ 17223 ]
        Paul King made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Paul King added a comment -

        tests added - but wondering whether normal String methods should also be added to CharSequence, e.g. trim() - that can be a separate issue in any case

        Show
        Paul King added a comment - tests added - but wondering whether normal String methods should also be added to CharSequence, e.g. trim() - that can be a separate issue in any case
        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 [ 12733875 ] Default workflow, editable Closed status [ 12745429 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971672 ] Default workflow, editable Closed status [ 12979356 ]
        Mark Thomas made changes -
        Reporter Paul King [ paulk@asert.com.au ] Paul King [ paulk ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3d 11h 45m 1 Paul King 30/Jul/11 07:20
        Resolved Resolved Closed Closed
        39d 7h 53m 1 Paul King 07/Sep/11 15:13

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development