Author: vhennebert
Date: Thu Mar 22 19:50:19 2012
New Revision: 1304013
URL: http://svn.apache.org/viewvc?rev=1304013&view=rev
Log:
Made class non-final to allow mocking
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java?rev=1304013&r1=1304012&r2=1304013&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
Thu Mar 22 19:50:19 2012
@@ -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 CommonBorderPaddingBa
* @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();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]