aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/table
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-07-13 22:26:09 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-07-13 22:26:09 +0000
commit2b8f2a4278987841c7b4a0d9059697936d0e7193 (patch)
tree3d99c98ce81ca445db0e046978ca7cc89b886f1f /src/java/org/apache/fop/layoutmgr/table
parent74ad4fd2236a498b2fdab1790b433b00037122c8 (diff)
downloadxmlgraphics-fop-2b8f2a4278987841c7b4a0d9059697936d0e7193.tar.gz
xmlgraphics-fop-2b8f2a4278987841c7b4a0d9059697936d0e7193.zip
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/table')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java2
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
index 878a1285a..c8f2cea85 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
@@ -289,7 +289,7 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager
}
int n = childrenLMs.size();
for (int j = 0; j < n; j++) {
- LayoutManager lm = (LayoutManager) childrenLMs.get(j);
+ LayoutManager lm = childrenLMs.get(j);
if (lm == null) {
return;
} else if (lm instanceof RetrieveTableMarkerLayoutManager) {
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
index d423b339d..4f17c2d0c 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
@@ -350,7 +350,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
Position lastPos = null;
Position lastCheckPos = null;
while (parentIter.hasNext()) {
- Position pos = (Position)parentIter.next();
+ Position pos = parentIter.next();
if (pos instanceof SpaceHandlingBreakPosition) {
//This position has only been needed before addAreas was called, now we need the
//original one created by the layout manager.