From 18f76f607fbc326bf345f9cdb59c86fc035be7a6 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Thu, 19 Jul 2007 14:13:01 +0000 Subject: [PATCH] Rename endRow into the more meaningful endRowIndex 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java b/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java index df48ab78c..e9ae9245b 100644 --- a/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java +++ b/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java @@ -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) { -- 2.39.5