]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Made class non-final to allow mocking
authorVincent Hennebert <vhennebert@apache.org>
Thu, 22 Mar 2012 19:50:19 +0000 (19:50 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 22 Mar 2012 19:50:19 +0000 (19:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304013 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java

index d33b453a3159c592bd62e1ba85225e680141f93c..789b8d4ed535c2b6d34e998eff2ed08bb9e48427 100644 (file)
@@ -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();