harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r823113 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java
Date Thu, 08 Oct 2009 10:14:20 GMT
Author: tellison
Date: Thu Oct  8 10:14:20 2009
New Revision: 823113

URL: http://svn.apache.org/viewvc?rev=823113&view=rev
Log:
Change if statement body to block.

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java?rev=823113&r1=823112&r2=823113&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/JarFile.java
Thu Oct  8 10:14:20 2009
@@ -285,8 +285,9 @@
             byte[] buf = new byte[1024];
             while (is.available() > 0) {
                 int iRead = is.read(buf, 0, buf.length);
-                if (iRead > 0)
+                if (iRead > 0) {
                     bs.write(buf, 0, iRead);
+                }
             }
         } finally {
             is.close();



Mime
View raw message