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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to