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

Tiny improvement to groovy.sql.Sql eachRows()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.6, 1.7-rc-1
    • Component/s: SQL processing
    • Labels:
      None
    • Flags:
      Patch

      Description

      A tiny improvement to eachRow().

      Change

      while (groovyRS.next())

      { rowClosure.call(groovyRS); }

      to

      groovyRS.eachRow(rowClosure);

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: