groovy
  1. groovy
  2. GROOVY-4949

Groovy should provide CharSequence variants for most its DGM String methods

    Details

    • Type: Improvement Improvement
    • Status: Closed 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
    • Number of attachments :
      0

      Description

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

        Activity

        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 ]
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Affects Version/s 1.9-beta-1 [ 17153 ]
        Affects Version/s 1.8.1 [ 17223 ]
        Component/s groovy-jdk [ 10750 ]
        Paul King made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: