aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2012-03-22 19:50:19 +0000
committerVincent Hennebert <vhennebert@apache.org>2012-03-22 19:50:19 +0000
commit99985cbd24adbafa032efefed21d7f65d56fa09e (patch)
treeb653b5d754bb543a18fc2fa8f790be9abc343e36 /src/java
parent4e26880397f917dc537993896adff1dcc0e96685 (diff)
downloadxmlgraphics-fop-99985cbd24adbafa032efefed21d7f65d56fa09e.tar.gz
xmlgraphics-fop-99985cbd24adbafa032efefed21d7f65d56fa09e.zip
Made class non-final to allow mocking
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304013 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
index d33b453a3..789b8d4ed 100644
--- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
+++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
@@ -44,7 +44,7 @@ import org.apache.fop.util.CompareUtil;
* Stores all common border and padding properties.
* See Sec. 7.7 of the XSL-FO Standard.
*/
-public final class CommonBorderPaddingBackground {
+public class CommonBorderPaddingBackground {
/**
* cache holding all canonical instances
@@ -288,7 +288,7 @@ public final class CommonBorderPaddingBackground {
* @param pList The PropertyList to get properties from.
* @throws PropertyException if there's an error while binding the properties
*/
- private CommonBorderPaddingBackground(PropertyList pList) throws PropertyException {
+ CommonBorderPaddingBackground(PropertyList pList) throws PropertyException {
backgroundAttachment = pList.get(Constants.PR_BACKGROUND_ATTACHMENT).getEnum();