You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vh...@apache.org on 2012/03/22 20:50:19 UTC

svn commit: r1304013 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java

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: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org