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

DGM method signature improvements

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7-beta-1
    • Fix Version/s: 2.2.0-beta-2
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      I found this in DGM:

          public static String minus(String self, Object target) {
              if (target instanceof Pattern) ...
      

      It would be much better to have a second method

          public static String minus(String self, Pattern target) {
      

      This may occur in more places.

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              codevise Dierk K├Ânig
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: