Author: tilman
Date: Sat Apr  7 18:47:54 2018
New Revision: 1828608

URL: http://svn.apache.org/viewvc?rev=1828608&view=rev
Log:
PDFBOX-4071: fix formatting

Modified:
    
pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java

Modified: 
pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java?rev=1828608&r1=1828607&r2=1828608&view=diff
==============================================================================
--- 
pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
 (original)
+++ 
pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
 Sat Apr  7 18:47:54 2018
@@ -114,8 +114,8 @@ public final class ImageIOUtil
             int dpi) throws IOException
     {
         File file = new File(filename + "." + formatName);
-        try
-        (FileOutputStream output = new FileOutputStream(file)) {
+        try (FileOutputStream output = new FileOutputStream(file))
+        {
             return writeImage(image, formatName, output, dpi);
         }
     }


Reply via email to