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

Tiny improvement to groovy.sql.Sql eachRows()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.6.6, 1.7-rc-1
    • SQL processing
    • None
    • Patch

    Description

      A tiny improvement to eachRow().

      Change

      while (groovyRS.next())

      { rowClosure.call(groovyRS); }

      to

      groovyRS.eachRow(rowClosure);

      Attachments

        Activity

          People

            paulk Paul King
            john.b.hurst John Hurst
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: