You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2017/08/01 06:26:27 UTC

svn commit: r1803612 - /poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java

Author: centic
Date: Tue Aug  1 06:26:27 2017
New Revision: 1803612

URL: http://svn.apache.org/viewvc?rev=1803612&view=rev
Log:
Reformat code slightly

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java?rev=1803612&r1=1803611&r2=1803612&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java Tue Aug  1 06:26:27 2017
@@ -33,8 +33,7 @@ import org.apache.poi.util.CloseIgnoring
  */
 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);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org