]> source.dussan.org Git - poi.git/commitdiff
Reformat code slightly
authorDominik Stadler <centic@apache.org>
Tue, 1 Aug 2017 06:26:27 +0000 (06:26 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 1 Aug 2017 06:26:27 +0000 (06:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java

index 71e6ce11791c56558321e6277be55116ba5d8a5c..31a54fb06f77991481be1d3cc2e47fa9ecab1f1f 100644 (file)
@@ -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);
     }
 }