]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Rename endRow into the more meaningful endRowIndex
authorVincent Hennebert <vhennebert@apache.org>
Thu, 19 Jul 2007 14:13:01 +0000 (14:13 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 19 Jul 2007 14:13:01 +0000 (14:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557630 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/ActiveCell.java

index df48ab78c89bdf1624bea36882c01e523352b463..e9ae9245b02e431be5543d8a909f00104f23b451 100644 (file)
@@ -35,7 +35,7 @@ class ActiveCell {
         private ListIterator knuthIter;
         private boolean prevIsBox = false;
         /** Number of the row where the row-span ends, zero-based. */
-        private int endRow;
+        private int endRowIndex;
         /** Index, in the list of Knuth elements, of the element starting the current step. */
         private int start;
         /** Index, in the list of Knuth elements, of the element ending the current step. */
@@ -101,14 +101,14 @@ class ActiveCell {
             paddingAfter = pgu.getBorders().getPaddingAfter(false, pgu.getCellLM());
             start = 0;
             end = -1;
-            endRow = rowIndex + pgu.getCell().getNumberRowsSpanned() - 1;
+            endRowIndex = rowIndex + pgu.getCell().getNumberRowsSpanned() - 1;
             keepWithNextSignal = false;
             remainingLength = totalLength;
             goToNextLegalBreak();
         }
 
         boolean endsOnRow(int rowIndex) {
-            return rowIndex == endRow;
+            return rowIndex == endRowIndex;
         }
 
         int getRemainingHeight(int activeRowIndex, EffRow[] rowGroup) {