cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r124153 - /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java
Date Tue, 04 Jan 2005 20:14:45 GMT
Author: sylvain
Date: Tue Jan  4 12:14:44 2005
New Revision: 124153

URL: http://svn.apache.org/viewcvs?view=rev&rev=124153
Log:
more bugfixing in getChild()
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java?view=diff&rev=124153&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java&r1=124152&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java&r2=124153
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java
Tue Jan  4 12:14:44 2005
@@ -97,7 +97,7 @@
         	rowIndex = Integer.parseInt(id);
         } catch (NumberFormatException nfe) {
         }
-        if (rowIndex < 0 || rowIndex > getSize()) 
+        if (rowIndex < 0 || rowIndex >= getSize()) 
             return null;
         return getRow(rowIndex);
     }

Mime
View raw message