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

DGM method signature improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7-beta-1
    • 2.2.0-beta-2
    • groovy-jdk
    • 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

            blackdrag Jochen Theodorou
            codevise Dierk König
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: