From 99985cbd24adbafa032efefed21d7f65d56fa09e Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Thu, 22 Mar 2012 19:50:19 +0000 Subject: [PATCH] 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 --- .../fop/fo/properties/CommonBorderPaddingBackground.java | 4 ++-- 1 file 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(); -- 2.39.5