aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/table
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/GridUnit.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/Table.java16
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TableAndCaption.java6
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TableCaption.java4
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TableCell.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TableColumn.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/TablePart.java6
9 files changed, 21 insertions, 21 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java b/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java
index 783c2ff8f..0af17996d 100644
--- a/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java
+++ b/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java
@@ -62,7 +62,7 @@ class CollapsingBorderResolver implements BorderResolver {
/* TODO Temporary hack for resolved borders in header */
/* Currently the normal border is always used. */
- private List/*<GridUnit>*/ headerLastRow = null;
+ private List/*<GridUnit>*/ headerLastRow;
/* End of temporary hack */
/**
diff --git a/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java b/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java
index 275905f2d..c3aa9e710 100644
--- a/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java
+++ b/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java
@@ -37,7 +37,7 @@ class FixedColRowGroupBuilder extends RowGroupBuilder {
/** Number of columns in the corresponding table. */
private int numberOfColumns;
- private TableRow currentTableRow = null;
+ private TableRow currentTableRow;
/** 0-based, index in the row group. */
private int currentRowIndex;
diff --git a/src/java/org/apache/fop/fo/flow/table/GridUnit.java b/src/java/org/apache/fop/fo/flow/table/GridUnit.java
index 229a7177f..9e3f750c6 100644
--- a/src/java/org/apache/fop/fo/flow/table/GridUnit.java
+++ b/src/java/org/apache/fop/fo/flow/table/GridUnit.java
@@ -62,7 +62,7 @@ public class GridUnit {
private int rowSpanIndex;
/** flags for the grid unit */
- private byte flags = 0;
+ private byte flags;
/** the border-before specification */
ConditionalBorder borderBefore;
diff --git a/src/java/org/apache/fop/fo/flow/table/Table.java b/src/java/org/apache/fop/fo/flow/table/Table.java
index 3389112d3..212608664 100644
--- a/src/java/org/apache/fop/fo/flow/table/Table.java
+++ b/src/java/org/apache/fop/fo/flow/table/Table.java
@@ -88,17 +88,17 @@ public class Table extends TableFObj implements ColumnNumberManagerHolder, Break
private ColumnNumberManager columnNumberManager = new ColumnNumberManager();
/** the table-header and -footer */
- private TableHeader tableHeader = null;
- private TableFooter tableFooter = null;
+ private TableHeader tableHeader;
+ private TableFooter tableFooter;
/** used for validation */
- private boolean tableColumnFound = false;
- private boolean tableHeaderFound = false;
- private boolean tableFooterFound = false;
- private boolean tableBodyFound = false;
+ private boolean tableColumnFound;
+ private boolean tableHeaderFound;
+ private boolean tableFooterFound;
+ private boolean tableBodyFound;
- private boolean hasExplicitColumns = false;
- private boolean columnsFinalized = false;
+ private boolean hasExplicitColumns;
+ private boolean columnsFinalized;
private RowGroupBuilder rowGroupBuilder;
/**
diff --git a/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java b/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
index f5ee8a714..e452f04d0 100644
--- a/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
+++ b/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
@@ -55,11 +55,11 @@ public class TableAndCaption extends FObj implements CommonAccessibilityHolder {
// private int textAlign;
// End of property values
- static boolean notImplementedWarningGiven = false;
+ static boolean notImplementedWarningGiven;
/** used for FO validation */
- private boolean tableCaptionFound = false;
- private boolean tableFound = false;
+ private boolean tableCaptionFound;
+ private boolean tableFound;
/**
* Create a TableAndCaption instance with the given {@link FONode}
diff --git a/src/java/org/apache/fop/fo/flow/table/TableCaption.java b/src/java/org/apache/fop/fo/flow/table/TableCaption.java
index 7976e9bae..454bcddfd 100644
--- a/src/java/org/apache/fop/fo/flow/table/TableCaption.java
+++ b/src/java/org/apache/fop/fo/flow/table/TableCaption.java
@@ -52,9 +52,9 @@ public class TableCaption extends FObj implements CommonAccessibilityHolder {
// End of property values
/** used for FO validation */
- private boolean blockItemFound = false;
+ private boolean blockItemFound;
- static boolean notImplementedWarningGiven = false;
+ static boolean notImplementedWarningGiven;
/**
* Create a TableCaption instance with the given {@link FONode}
diff --git a/src/java/org/apache/fop/fo/flow/table/TableCell.java b/src/java/org/apache/fop/fo/flow/table/TableCell.java
index b9a811328..33b4a5fe3 100644
--- a/src/java/org/apache/fop/fo/flow/table/TableCell.java
+++ b/src/java/org/apache/fop/fo/flow/table/TableCell.java
@@ -60,7 +60,7 @@ public class TableCell extends TableFObj implements CommonAccessibilityHolder {
// End of property values
/** used for FO validation */
- private boolean blockItemFound = false;
+ private boolean blockItemFound;
private boolean hasRetrieveTableMarker;
diff --git a/src/java/org/apache/fop/fo/flow/table/TableColumn.java b/src/java/org/apache/fop/fo/flow/table/TableColumn.java
index 33cbff884..abfc8cd4d 100644
--- a/src/java/org/apache/fop/fo/flow/table/TableColumn.java
+++ b/src/java/org/apache/fop/fo/flow/table/TableColumn.java
@@ -51,7 +51,7 @@ public class TableColumn extends TableFObj {
// End of property values
private boolean implicitColumn;
- private PropertyList pList = null;
+ private PropertyList pList;
/**
* Create a TableColumn instance with the given {@link FONode}
diff --git a/src/java/org/apache/fop/fo/flow/table/TablePart.java b/src/java/org/apache/fop/fo/flow/table/TablePart.java
index 032340681..b148ad48e 100644
--- a/src/java/org/apache/fop/fo/flow/table/TablePart.java
+++ b/src/java/org/apache/fop/fo/flow/table/TablePart.java
@@ -47,13 +47,13 @@ public abstract class TablePart extends TableCellContainer {
// End of property values
/** table rows found */
- protected boolean tableRowsFound = false;
+ protected boolean tableRowsFound;
/** table cells found */
- protected boolean tableCellsFound = false;
+ protected boolean tableCellsFound;
private boolean firstRow = true;
- private boolean rowsStarted = false;
+ private boolean rowsStarted;
private boolean lastCellEndsRow = true;