geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505638 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
Date Sat, 10 Feb 2007 05:51:08 GMT
Author: jdillon
Date: Fri Feb  9 21:51:07 2007
New Revision: 505638

URL: http://svn.apache.org/viewvc?view=rev&rev=505638
Log:
Need to adjust index

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy?view=diff&rev=505638&r1=505637&r2=505638
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
Fri Feb  9 21:51:07 2007
@@ -101,7 +101,7 @@
     def getReplacement(config) {
         assert config
         
-        def iter = config.iteration[iteration]
+        def iter = config.iteration[iteration - 1] // iter starts at 1, list index at 0
         def list = []
         iter.tests.test.each { test ->
             list << test.text()



Mime
View raw message