From c7e1fabf1c879d8d57b1e21720e154d0eb29a8f1 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 1 Aug 2017 06:26:27 +0000 Subject: [PATCH] Reformat code slightly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/poifs/filesystem/POIFSFileSystem.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java b/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java index 71e6ce117..31a54fb06 100644 --- a/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java +++ b/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java @@ -33,8 +33,7 @@ import org.apache.poi.util.CloseIgnoringInputStream; */ public class POIFSFileSystem extends NPOIFSFileSystem // TODO Temporary workaround during #56791 - implements POIFSViewable -{ + implements POIFSViewable { /** * Convenience method for clients that want to avoid the auto-close behaviour of the constructor. */ @@ -45,8 +44,7 @@ public class POIFSFileSystem /** * Constructor, intended for writing */ - public POIFSFileSystem() - { + public POIFSFileSystem() { super(); } @@ -79,9 +77,7 @@ public class POIFSFileSystem * @exception IOException on errors reading, or on invalid data */ - public POIFSFileSystem(InputStream stream) - throws IOException - { + public POIFSFileSystem(InputStream stream) throws IOException { super(stream); } @@ -130,6 +126,7 @@ public class POIFSFileSystem public static boolean hasPOIFSHeader(InputStream inp) throws IOException { return NPOIFSFileSystem.hasPOIFSHeader(inp); } + /** * Checks if the supplied first 8 bytes of a stream / file * has a POIFS (OLE2) header. @@ -171,8 +168,7 @@ public class POIFSFileSystem * @param args names of the files; arg[ 0 ] is the input file, * arg[ 1 ] is the output file */ - public static void main(String args[]) throws IOException - { + public static void main(String args[]) throws IOException { OPOIFSFileSystem.main(args); } }