aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-11-13 17:13:19 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-11-13 17:13:19 +0000
commitfdad001c2baf70ce221cf210cc20ce9f7d43749a (patch)
tree9ee82eea50ed2f81f81576b048aff0d667558121 /src/java/org/apache/fop/fo/flow
parenta1abc9cf8323b1e69f3e665b76219973b1281073 (diff)
downloadxmlgraphics-fop-fdad001c2baf70ce221cf210cc20ce9f7d43749a.tar.gz
xmlgraphics-fop-fdad001c2baf70ce221cf210cc20ce9f7d43749a.zip
Use a singleton for a default BorderInfo of style none, instead of every time a new instance
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594584 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
index bbed8a925..bcf67b2c5 100644
--- a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
+++ b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
@@ -42,7 +42,7 @@ public class EmptyGridUnit extends GridUnit {
/** {@inheritDoc} */
protected void setBorder(int side) {
resolvedBorders[side] = new BorderSpecification(
- new CommonBorderPaddingBackground.BorderInfo(Constants.EN_NONE, null, null),
+ CommonBorderPaddingBackground.getDefaultBorderInfo(),
Constants.FO_TABLE_CELL);
}