commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1349509 - in /commons/proper/io/trunk/src: changes/changes.xml main/java/org/apache/commons/io/FileUtils.java
Date Tue, 12 Jun 2012 20:39:23 GMT
Author: ggregory
Date: Tue Jun 12 20:39:23 2012
New Revision: 1349509

URL: http://svn.apache.org/viewvc?rev=1349509&view=rev
Log:
[IO-336] Yottabyte (YB) incorrectly defined in FileUtils.

Modified:
    commons/proper/io/trunk/src/changes/changes.xml
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1349509&r1=1349508&r2=1349509&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Tue Jun 12 20:39:23 2012
@@ -47,6 +47,9 @@ The <action> type attribute can be add,u
   <body>
     <!-- The release date is the date RC is cut -->
     <release version="2.4" date="2012-06-12" description="New features and bug fixes.">
+      <action issue="IO-336" dev="ggregory" type="fix" due-to="rleavelle">
+        Yottabyte (YB) incorrectly defined in FileUtils.
+      </action>            
       <action issue="IO-269" dev="ggregory" type="add" due-to="sebb">
         Tailer locks file from deletion/rename on Windows.
       </action>            

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1349509&r1=1349508&r2=1349509&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Tue Jun 12
20:39:23 2012
@@ -167,7 +167,7 @@ public class FileUtils {
     /**
      * The number of bytes in a yottabyte.
      */
-    public static final BigInteger ONE_YB = ONE_ZB.multiply(BigInteger.valueOf(ONE_EB));
+    public static final BigInteger ONE_YB = ONE_KB_BI.multiply(ONE_ZB);
 
     /**
      * An empty array of type <code>File</code>.



Mime
View raw message