From: Dominik Stadler Date: Tue, 1 Aug 2017 06:26:27 +0000 (+0000) Subject: Reformat code slightly X-Git-Tag: REL_3_17_FINAL~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=abd7c696ae71946c12af2f652baed8f6dba1fd7e;p=poi.git Reformat code slightly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java b/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java index 71e6ce1179..31a54fb06f 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); } }