You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ga...@apache.org on 2012/06/03 22:09:10 UTC

svn commit: r1345759 - in /xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps: PSFontUtils.java PSImageUtils.java

Author: gadams
Date: Sun Jun  3 20:09:09 2012
New Revision: 1345759

URL: http://svn.apache.org/viewvc?rev=1345759&view=rev
Log:
Revert changing constructors of PS{Font,Image}Utils to private, due to inheritance in FOP.

Modified:
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSFontUtils.java
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSImageUtils.java

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSFontUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSFontUtils.java?rev=1345759&r1=1345758&r2=1345759&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSFontUtils.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSFontUtils.java Sun Jun  3 20:09:09 2012
@@ -30,12 +30,14 @@ import org.apache.xmlgraphics.fonts.Glyp
 import org.apache.xmlgraphics.util.io.ASCIIHexOutputStream;
 import org.apache.xmlgraphics.util.io.SubInputStream;
 
+// CSOFF: HideUtilityClassConstructor
+
 /**
  * Utility code for font handling in PostScript.
  */
-public final class PSFontUtils {
+public class PSFontUtils {
 
-    private PSFontUtils() {
+    public PSFontUtils() {
     }
 
     /**

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSImageUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSImageUtils.java?rev=1345759&r1=1345758&r2=1345759&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSImageUtils.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/PSImageUtils.java Sun Jun  3 20:09:09 2012
@@ -39,12 +39,14 @@ import org.apache.xmlgraphics.util.io.Fi
 import org.apache.xmlgraphics.util.io.FlateEncodeOutputStream;
 import org.apache.xmlgraphics.util.io.RunLengthEncodeOutputStream;
 
+// CSOFF: HideUtilityClassConstructor
+
 /**
  * Utility code for rendering images in PostScript.
  */
-public final class PSImageUtils {
+public class PSImageUtils {
 
-    private PSImageUtils() {
+    public PSImageUtils() {
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org