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

Closure-less overloads in DefaultGroovyMethods should be whitelisted

XMLWordPrintable

      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.

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

              Created:
              Updated: