jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1169716 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java
Date Mon, 12 Sep 2011 12:40:18 GMT
Author: thomasm
Date: Mon Sep 12 12:40:18 2011
New Revision: 1169716

URL: http://svn.apache.org/viewvc?rev=1169716&view=rev
Log:
Formatting.

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java?rev=1169716&r1=1169715&r2=1169716&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/util/IOUtils.java
Mon Sep 12 12:40:18 2011
@@ -265,8 +265,8 @@ public class IOUtils {
      *
      * @param sock the Socket to close, may be null or already closed
      */
-    public static void closeQuietly(Socket sock){
-        if (sock != null){
+    public static void closeQuietly(Socket sock) {
+        if (sock != null) {
             try {
                 sock.close();
             } catch (IOException ioe) {
@@ -274,14 +274,14 @@ public class IOUtils {
             }
         }
     }
-    
+
     /**
      * Copy bytes from an <code>InputStream</code> to an
      * <code>OutputStream</code>.
      * <p>
      * This method buffers the input internally, so there is no need to use a
      * <code>BufferedInputStream</code>.
-     * 
+     *
      * @param input  the <code>InputStream</code> to read from
      * @param output  the <code>OutputStream</code> to write to
      * @return the number of bytes copied
@@ -298,4 +298,5 @@ public class IOUtils {
         }
         return count;
     }
+
 }



Mime
View raw message