Create commons-io-2.4-RC2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/tags/2.4-RC2@1349569 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index e24e1e1..16a0b67 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -30,6 +30,7 @@
o IO-324: Add missing Charset sister APIs to method that take a String charset name. Thanks to raviprak.
Fixed Bugs:
+o IO-336: Yottabyte (YB) incorrectly defined in FileUtils. Thanks to rleavelle.
o IO-279: Tailer erroneously considers file as new. Thanks to Sergio Bossa, Chris Baron.
o IO-335: Tailer#readLines - incorrect CR handling.
o IO-334: FileUtils.toURLs throws NPE for null parameter; document the behavior.
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ee45498..907e41f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,6 +47,9 @@
<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>
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index 0372884..6a50a85 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -167,7 +167,7 @@
/**
* 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>.