Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54960

Closure-less overloads in DefaultGroovyMethods should be whitelisted

    Details

    • Similar Issues:

      Description

      These collection utility methods from DefaultGroovyMethods are currently whitelisted:

      • any
      • collect
      • every
      • find
      • findAll
      • max
      • min

      However, only the overloads taking a closure as an argument are whitelisted. There are also overloads that don't take a closure (calling which is equivalent to passing Closure.IDENTITY as the argument). I think those should be whitelisted as well.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              rdonchen_intel Roman Donchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: