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 2014/07/15 21:35:50 UTC

svn commit: r1610825 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop: fonts/apps/TTFReader.java render/pdf/extensions/PDFExtensionHandler.java

Author: vhennebert
Date: Tue Jul 15 19:35:49 2014
New Revision: 1610825

URL: http://svn.apache.org/r1610825
Log:
... And actually fix resulting warnings

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java?rev=1610825&r1=1610824&r2=1610825&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java Tue Jul 15 19:35:49 2014
@@ -205,7 +205,8 @@ public class TTFReader extends AbstractF
      * @return The TTF as an object, null if the font is incompatible.
      * @throws IOException In case of an I/O problem
      */
-    public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced) throws IOException {
+    public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced)
+            throws IOException {
         TTFFile ttfFile = new TTFFile(useKerning, useAdvanced);
         log.info("Reading " + fileName + "...");
         InputStream stream = new FileInputStream(fileName);

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java?rev=1610825&r1=1610824&r2=1610825&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java Tue Jul 15 19:35:49 2014
@@ -168,7 +168,8 @@ public class PDFExtensionHandler extends
                     } else if (dictionary.getDictionaryType() != PDFDictionaryType.Dictionary) {
                         this.returnedObject = new PDFDictionaryAttachment(dictionary);
                     } else {
-                        throw new SAXException(new IllegalStateException("generic dictionary not permitted at outer level"));
+                        throw new SAXException(
+                                new IllegalStateException("generic dictionary not permitted at outer level"));
                     }
                 } else {
                     throw new SAXException(new IllegalStateException("collections stack is empty or not a dictionary"));



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