svn commit: r1349306 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 12:49:36 2012
New Revision: 1349306

URL: http://svn.apache.org/viewvc?rev=1349306view=rev
Log:
Add missing Javadoc for org.apache.commons.io.FileUtils.checkDirectory(File)

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

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=1349306r1=1349305r2=1349306view=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 12:49:36 2012
@@ -2521,11 +2521,16 @@ public class FileUtils {
 return size;
 }
 
+/**
+ * Checks that the given {@code File} exists and is a directory.
+ * 
+ * @param directory The {@code File} to check.
+ * @throws IllegalArgumentException if the given {@code File} does not 
exist or is not a directory.
+ */
 private static void checkDirectory(File directory) {
 if (!directory.exists()) {
 throw new IllegalArgumentException(directory +  does not exist);
 }
-
 if (!directory.isDirectory()) {
 throw new IllegalArgumentException(directory +  is not a 
directory);
 }




svn commit: r1349311 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 12:53:56 2012
New Revision: 1349311

URL: http://svn.apache.org/viewvc?rev=1349311view=rev
Log:
Fix @since.

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

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=1349311r1=1349310r2=1349311view=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 12:53:56 2012
@@ -2038,7 +2038,7 @@ public class FileUtils {
  * @param append if {@code true}, then the data will be added to the
  * end of the file rather than overwriting
  * @throws IOException in case of an I/O error
- * @since IO 2.3
+ * @since 2.3
  */
 public static void write(File file, CharSequence data, Charset encoding, 
boolean append) throws IOException {
 String str = data == null ? null : data.toString();




svn commit: r1349342 - /commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:39:18 2012
New Revision: 1349342

URL: http://svn.apache.org/viewvc?rev=1349342view=rev
Log:
Preparing release 2.4.

Added:
commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml   (with props)

Added: commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml?rev=1349342view=auto
==
--- commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml (added)
+++ commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml Tue Jun 12 13:39:18 
2012
@@ -0,0 +1,81 @@
+?xml version=1.0?
+!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the License); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an AS IS BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--
+document
+ properties
+  titleUpgrade from 2.3 to 2.4/title
+  author email=d...@commons.apache.orgCommons Documentation Team/author
+ /properties
+body
+
+section name=Upgrade
+p
+These are the release notes and advice for upgrading Commons-IO from
+version 2.3 to version 2.4
+source
+Commons IO is a package of Java utility classes like java.io.  
+Classes in this package are considered to be so standard and of such high 
+reuse as to justify existence in java.io.
+
+The Commons IO library contains utility classes, stream implementations, file 
filters, 
+file comparators, endian transformation classes, and much more.
+
+==
+Apache Commons IO Version 2.4-SNAPSHOT
+==
+
+Changes in this version include:
+
+New features:
+o IO-269:  Tailer locks file from deletion/rename on Windows. Thanks to sebb. 
+o IO-333:  Export OSGi packages at version 1.x in addition to 2.x. Thanks to 
fmeschbe. 
+o IO-320:  Add XmlStreamReader support for UTF-32. Thanks to ggregory. 
+o IO-331:  BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM 
files in method getBOM(). Thanks to ggregory. 
+o IO-327:  Add byteCountToDisplaySize(BigInteger). Thanks to ggregory. 
+o IO-326:  Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. 
Thanks to ggregory. 
+o IO-325:  Add IOUtils.toByteArray methods to work with URL and URI. Thanks to 
raviprak. 
+o IO-324:  Add missing Charset sister APIs to method that take a String 
charset name. Thanks to raviprak. 
+
+Fixed Bugs:
+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. 
+o IO-332:  Improve tailer's reading performance. Thanks to liangly. 
+o IO-279:  Improve Tailer performance with buffered reads (see IO-332). 
+o IO-329:  FileUtils.writeLines uses unbuffered IO. Thanks to tivv. 
+o IO-319:  FileUtils.sizeOfDirectory follows symbolic links. Thanks to 
raviprak. 
+
+Compatibility with 2.3:
+Binary compatible: Yes.
+Source compatible: Yes.
+Semantic compatible: Yes.
+
+Compatibility with 2.2 and 1.4:
+Binary compatible: Yes.
+Source compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+Semantic compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+
+Commons IO 2.4 requires JDK 1.6 or later.
+Commons IO 2.3 requires JDK 1.6 or later.
+Commons IO 2.2 requires JDK 1.5 or later.
+Commons IO 1.4 requires JDK 1.3 or later.
+/source
+/p
+/section
+
+/body
+/document

Propchange: commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml
--
svn:eol-style = native

Propchange: commons/proper/io/trunk/src/site/xdoc/upgradeto2_4.xml
--
svn:keywords = Id




svn commit: r1349343 - /commons/proper/io/trunk/src/site/xdoc/index.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:39:56 2012
New Revision: 1349343

URL: http://svn.apache.org/viewvc?rev=1349343view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/site/xdoc/index.xml

Modified: commons/proper/io/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/index.xml?rev=1349343r1=1349342r2=1349343view=diff
==
--- commons/proper/io/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/io/trunk/src/site/xdoc/index.xml Tue Jun 12 13:39:56 2012
@@ -47,13 +47,13 @@ There are six main areas included:
 !-- == --
 section name=Releases
 
-subsection name=Commons IO 2.3 (requires JDK 1.6+)
+subsection name=Commons IO 2.4 (requires JDK 1.6+)
 p
-Commons IO 2.3 is the latest version and requires a minimum of JDK 1.6 -
+Commons IO 2.4 is the latest version and requires a minimum of JDK 1.6 -
 a href=http://commons.apache.org/io/download_io.cgi;Download now!/a
 /p 
 p
-View the a href=upgradeto2_3.htmlRelease Notes/a and
+View the a href=upgradeto2_4.htmlRelease Notes/a and
 a href=api-release/index.htmlJavaDoc API documents/a
 /p 
 /subsection




svn commit: r1349345 - /commons/proper/io/trunk/src/site/site.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:40:19 2012
New Revision: 1349345

URL: http://svn.apache.org/viewvc?rev=1349345view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/site/site.xml

Modified: commons/proper/io/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/site.xml?rev=1349345r1=1349344r2=1349345view=diff
==
--- commons/proper/io/trunk/src/site/site.xml (original)
+++ commons/proper/io/trunk/src/site/site.xml Tue Jun 12 13:40:19 2012
@@ -28,7 +28,7 @@
 item name=Download 
href=http://commons.apache.org/io/download_io.cgi/
 item name=User guide   href=/description.html/
 item name=Best practices   href=/bestpractices.html/
-item name=Javadoc 2.3  href=api-release/index.html/
+item name=Javadoc 2.4  href=api-release/index.html/
 item name=Javadoc 2.2  href=api-2.2/index.html/
 item name=Javadoc 1.4  href=api-1.4/index.html/
 /menu




svn commit: r1349351 - /commons/proper/io/trunk/src/changes/release-notes.vm

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:44:04 2012
New Revision: 1349351

URL: http://svn.apache.org/viewvc?rev=1349351view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/changes/release-notes.vm

Modified: commons/proper/io/trunk/src/changes/release-notes.vm
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/release-notes.vm?rev=1349351r1=1349350r2=1349351view=diff
==
--- commons/proper/io/trunk/src/changes/release-notes.vm (original)
+++ commons/proper/io/trunk/src/changes/release-notes.vm Tue Jun 12 13:44:04 
2012
@@ -147,6 +147,27 @@ Binary compatible: Yes.
 Source compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
 Semantic compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
 
+Commons IO 2.4 requires JDK 1.6 or later.
+Commons IO 2.3 requires JDK 1.6 or later.
+Commons IO 2.2 requires JDK 1.5 or later.
+Commons IO 1.4 requires JDK 1.3 or later.
+
+==
+Apache Commons IO Version 2.3
+==
+
+Changes in this version include:
+
+New features:
+o IO-322:  Add and use class Charsets. Thanks to ggregory. 
+o IO-321:  ByteOrderMark UTF_32LE is incorrect. Thanks to ggregory. 
+o IO-318:  Add Charset sister APIs to method that take a String charset name. 
Thanks to ggregory. 
+
+Compatibility with 2.2 and 1.4:
+Binary compatible: Yes.
+Source compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+Semantic compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+
 Commons IO 2.3 requires JDK 1.6 or later.
 Commons IO 2.2 requires JDK 1.5 or later.
 Commons IO 1.4 requires JDK 1.3 or later.




svn commit: r1349352 - /commons/proper/io/trunk/src/changes/release-notes.vm

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:47:59 2012
New Revision: 1349352

URL: http://svn.apache.org/viewvc?rev=1349352view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/changes/release-notes.vm

Modified: commons/proper/io/trunk/src/changes/release-notes.vm
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/release-notes.vm?rev=1349352r1=1349351r2=1349352view=diff
==
--- commons/proper/io/trunk/src/changes/release-notes.vm (original)
+++ commons/proper/io/trunk/src/changes/release-notes.vm Tue Jun 12 13:47:59 
2012
@@ -38,6 +38,7 @@ Apache Commons IO Version ${version}
 ## Hack to improve layout: replace all pairs of spaces with a single new-line
 $release.description.replaceAll(  , 
 )
+
 ##
 #if ($release.getActions().size() == 0)
 No changes defined in this version.
@@ -142,6 +143,11 @@ o#if($!issue != ) $issue: #else$indent
 ## End of main loop
 #end
 ##
+Compatibility with 2.3:
+Binary compatible: Yes.
+Source compatible: Yes.
+Semantic compatible: Yes.
+
 Compatibility with 2.2 and 1.4:
 Binary compatible: Yes.
 Source compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.




svn commit: r1349353 - /commons/proper/io/trunk/src/changes/changes.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 13:48:30 2012
New Revision: 1349353

URL: http://svn.apache.org/viewvc?rev=1349353view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/changes/changes.xml

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1349353r1=1349352r2=1349353view=diff
==
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Tue Jun 12 13:48:30 2012
@@ -46,7 +46,7 @@ The action type attribute can be add,u
 
   body
 !-- The release date is the date RC is cut --
-release version=2.4 date=2012-TDB-TDB description=
+release version=2.4 date=2012-TBD-TBD description=New features and 
bug fixes.
   action issue=IO-269 dev=ggregory type=add due-to=sebb
 Tailer locks file from deletion/rename on Windows.
   /action
@@ -57,16 +57,15 @@ The action type attribute can be add,u
 Tailer#readLines - incorrect CR handling.
   /action
   action issue=IO-334 dev=sebb type=fix
-FileUtils.toURLs throws NPE for null parameter.
-Documented the behaviour.
+FileUtils.toURLs throws NPE for null parameter; document the behavior.
   /action
   action issue=IO-333 dev=ggregory type=add due-to=fmeschbe
 Export OSGi packages at version 1.x in addition to 2.x.
   /action
-  action issue=IO-320 dev=ggregory type=add
+  action issue=IO-320 dev=ggregory type=add due-to=ggregory
 Add XmlStreamReader support for UTF-32.
   /action
-  action issue=IO-331 dev=ggregory type=add
+  action issue=IO-331 dev=ggregory type=add due-to=ggregory
 BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM 
files in method getBOM().
   /action
   action issue=IO-332 dev=ggregory type=fix due-to=liangly
@@ -95,7 +94,7 @@ The action type attribute can be add,u
   /action
 /release
 !-- The release date is the date RC is cut --
-release version=2.3 date=2012-April-10 description=
+release version=2.3 date=2012-April-10 description=New features and 
bug fixes.
   action issue=IO-322 dev=ggregory type=add due-to=ggregory
 Add and use class Charsets.
   /action
@@ -106,7 +105,7 @@ The action type attribute can be add,u
 Add Charset sister APIs to method that take a String charset name.
   /action
 /release
-release version=2.2 date=2012-March-26 description=
+release version=2.2 date=2012-March-26 description=New features and 
bug fixes.
   action issue=IO-313 dev=ggregory type=add due-to=ggregory
 Add IOUTils.toBufferedReader(Reader)
   /action
@@ -124,7 +123,7 @@ The action type attribute can be add,u
 New copyLarge() method in IOUtils that takes additional offset, length 
arguments
   /action
   action issue=IO-300 dev=sebb type=fix
-FileUtils.moveDirectoryToDirectory removes source directory if 
destination is a subdirectory
+FileUtils.moveDirectoryToDirectory removes source directory if 
destination is a sub-directory
   /action
   action issue=IO-307 dev=sebb type=fix
 ReaderInputStream#read(byte[] b, int off, int len) should check for 
valid parameters
@@ -182,7 +181,7 @@ The action type attribute can be add,u
 Added contentEqualsIgnoreEOL methods to both classes
   /action
 /release
-release version=2.1 date=2011-Sep-28
+release version=2.1 date=2011-Sep-28 description=New features and 
bug fixes.
   action dev=ggregory type=add issue=IO-285 due-to=ggregory
 Use standard Maven directory layout
   /action
@@ -250,7 +249,7 @@ The action type attribute can be add,u
   /action
 /release
 
-release version=1.3.2 date=2007-Jul-02
+release version=1.3.2 date=2007-Jul-02 description=Bug fixes.
   action dev=jochen type=fix issue=IO-115
 Some tests, which are implicitly assuming a Unix-like file
 system, are now skipped on Windows.




svn commit: r1349372 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java

2012-06-12 Thread mikl
Author: mikl
Date: Tue Jun 12 14:27:56 2012
New Revision: 1349372

URL: http://svn.apache.org/viewvc?rev=1349372view=rev
Log:
MATH-790: Patch applied to fix the second overflow issue.

Modified:

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java

Modified: 
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java?rev=1349372r1=1349371r2=1349372view=diff
==
--- 
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java
 (original)
+++ 
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/inference/MannWhitneyUTest.java
 Tue Jun 12 14:27:56 2012
@@ -170,7 +170,10 @@ public class MannWhitneyUTest {
  final int n2)
 throws ConvergenceException, MaxCountExceededException {
 
-final double n1n2prod = n1 * n2;
+/* long multiplication to avoid overflow (double not used due to 
efficiency 
+ * and to avoid precision loss)
+ */
+final long n1n2prod = (long) n1 * n2;
 
 // 
http://en.wikipedia.org/wiki/Mann%E2%80%93Whitney_U#Normal_approximation
 final double EU = n1n2prod / 2.0;




svn commit: r1349376 - /commons/proper/io/trunk/src/changes/changes.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 14:43:53 2012
New Revision: 1349376

URL: http://svn.apache.org/viewvc?rev=1349376view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/changes/changes.xml

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1349376r1=1349375r2=1349376view=diff
==
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Tue Jun 12 14:43:53 2012
@@ -46,7 +46,7 @@ The action type attribute can be add,u
 
   body
 !-- The release date is the date RC is cut --
-release version=2.4 date=2012-TBD-TBD description=New features and 
bug fixes.
+release version=2.4 date=2012-06-12 description=New features and bug 
fixes.
   action issue=IO-269 dev=ggregory type=add due-to=sebb
 Tailer locks file from deletion/rename on Windows.
   /action




svn commit: r1349397 - /commons/proper/io/trunk/src/site/xdoc/download_io.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 15:36:51 2012
New Revision: 1349397

URL: http://svn.apache.org/viewvc?rev=1349397view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/src/site/xdoc/download_io.xml

Modified: commons/proper/io/trunk/src/site/xdoc/download_io.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/download_io.xml?rev=1349397r1=1349396r2=1349397view=diff
==
--- commons/proper/io/trunk/src/site/xdoc/download_io.xml (original)
+++ commons/proper/io/trunk/src/site/xdoc/download_io.xml Tue Jun 12 15:36:51 
2012
@@ -95,32 +95,32 @@ limitations under the License.
   /p
 /subsection
 /section
-section name=Commons IO 2.3 (requires JDK 1.6+)
+section name=Commons IO 2.4 (requires JDK 1.6+)
   subsection name=Binaries
 table
   tr
-  tda 
href=[preferred]/commons/io/binaries/commons-io-2.3-bin.tar.gzcommons-io-2.3-bin.tar.gz/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.3-bin.tar.gz.md5;md5/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.3-bin.tar.gz.asc;pgp/a/td
+  tda 
href=[preferred]/commons/io/binaries/commons-io-2.4-bin.tar.gzcommons-io-2.4-bin.tar.gz/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.tar.gz.md5;md5/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.tar.gz.asc;pgp/a/td
   /tr
   tr
-  tda 
href=[preferred]/commons/io/binaries/commons-io-2.3-bin.zipcommons-io-2.3-bin.zip/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.3-bin.zip.md5;md5/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.3-bin.zip.asc;pgp/a/td
+  tda 
href=[preferred]/commons/io/binaries/commons-io-2.4-bin.zipcommons-io-2.4-bin.zip/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.zip.md5;md5/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.zip.asc;pgp/a/td
   /tr
 /table
   /subsection
   subsection name=Source
 table
   tr
-  tda 
href=[preferred]/commons/io/source/commons-io-2.3-src.tar.gzcommons-io-2.3-src.tar.gz/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.3-src.tar.gz.md5;md5/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.3-src.tar.gz.asc;pgp/a/td
+  tda 
href=[preferred]/commons/io/source/commons-io-2.4-src.tar.gzcommons-io-2.4-src.tar.gz/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.4-src.tar.gz.md5;md5/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.4-src.tar.gz.asc;pgp/a/td
   /tr
   tr
-  tda 
href=[preferred]/commons/io/source/commons-io-2.3-src.zipcommons-io-2.3-src.zip/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.3-src.zip.md5;md5/a/td
-  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.3-src.zip.asc;pgp/a/td
+  tda 
href=[preferred]/commons/io/source/commons-io-2.4-src.zipcommons-io-2.4-src.zip/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.4-src.zip.md5;md5/a/td
+  tda 
href=http://www.apache.org/dist/commons/io/source/commons-io-2.4-src.zip.asc;pgp/a/td
   /tr
 /table
   /subsection




svn commit: r1349399 - /commons/proper/io/trunk/RELEASE-NOTES.txt

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 15:37:26 2012
New Revision: 1349399

URL: http://svn.apache.org/viewvc?rev=1349399view=rev
Log:
Preparing release 2.4.

Modified:
commons/proper/io/trunk/RELEASE-NOTES.txt

Modified: commons/proper/io/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=1349399r1=1349398r2=1349399view=diff
==
--- commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/io/trunk/RELEASE-NOTES.txt Tue Jun 12 15:37:26 2012
@@ -1,6 +1,6 @@
 
 Apache Commons IO 
-Version 2.3-SNAPSHOT
+Version 2.4
 Release Notes
 
 INTRODUCTION:
@@ -13,6 +13,48 @@ The Commons IO library contains utility 
 file comparators, endian transformation classes, and much more.
 
 ==
+Apache Commons IO Version 2.4
+==
+New features and bug fixes.
+
+Changes in this version include:
+
+New features:
+o IO-269:  Tailer locks file from deletion/rename on Windows. Thanks to sebb. 
+o IO-333:  Export OSGi packages at version 1.x in addition to 2.x. Thanks to 
fmeschbe. 
+o IO-320:  Add XmlStreamReader support for UTF-32. Thanks to ggregory. 
+o IO-331:  BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM 
files in method getBOM(). Thanks to ggregory. 
+o IO-327:  Add byteCountToDisplaySize(BigInteger). Thanks to ggregory. 
+o IO-326:  Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. 
Thanks to ggregory. 
+o IO-325:  Add IOUtils.toByteArray methods to work with URL and URI. Thanks to 
raviprak. 
+o IO-324:  Add missing Charset sister APIs to method that take a String 
charset name. Thanks to raviprak. 
+
+Fixed Bugs:
+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. 
+o IO-332:  Improve tailer's reading performance. Thanks to liangly. 
+o IO-279:  Improve Tailer performance with buffered reads (see IO-332). 
+o IO-329:  FileUtils.writeLines uses unbuffered IO. Thanks to tivv. 
+o IO-319:  FileUtils.sizeOfDirectory follows symbolic links. Thanks to 
raviprak. 
+
+
+Compatibility with 2.3:
+Binary compatible: Yes.
+Source compatible: Yes.
+Semantic compatible: Yes.
+
+Compatibility with 2.2 and 1.4:
+Binary compatible: Yes.
+Source compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+Semantic compatible: No, see the rare case in 
https://issues.apache.org/jira/browse/IO-318.
+
+Commons IO 2.4 requires JDK 1.6 or later.
+Commons IO 2.3 requires JDK 1.6 or later.
+Commons IO 2.2 requires JDK 1.5 or later.
+Commons IO 1.4 requires JDK 1.3 or later.
+
+==
 Apache Commons IO Version 2.3
 ==
 




svn commit: r1349402 - in /commons/proper/io/tags/2.4-RC1: ./ pom.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 15:40:18 2012
New Revision: 1349402

URL: http://svn.apache.org/viewvc?rev=1349402view=rev
Log:
Create commons-io-2.4-RC1.

Added:
commons/proper/io/tags/2.4-RC1/
  - copied from r1349401, commons/proper/io/trunk/
Modified:
commons/proper/io/tags/2.4-RC1/pom.xml

Modified: commons/proper/io/tags/2.4-RC1/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/tags/2.4-RC1/pom.xml?rev=1349402r1=1349401r2=1349402view=diff
==
--- commons/proper/io/tags/2.4-RC1/pom.xml (original)
+++ commons/proper/io/tags/2.4-RC1/pom.xml Tue Jun 12 15:40:18 2012
@@ -24,7 +24,7 @@
   modelVersion4.0.0/modelVersion
   groupIdcommons-io/groupId
   artifactIdcommons-io/artifactId
-  version2.4-SNAPSHOT/version
+  version2.4/version
   nameCommons IO/name
 
   inceptionYear2002/inceptionYear




Nexus: Staging Completed.

2012-06-12 Thread Nexus Repository Manager
Description:Closing Apache Commons IO 2.4-RC1.Details:The following artifacts have been staged to the org.apache.commons-228 (u:ggregory, a:98.180.79.15) repository.commons-io-2.4-javadoc.jarcommons-io-2.4.jar.asccommons-io-2.4.jarcommons-io-2.4-tests.jar.asccommons-io-2.4-tests.jarcommons-io-2.4-javadoc.jar.asccommons-io-2.4-test-sources.jar.asccommons-io-2.4-src.zip.asccommons-io-2.4.pom.asccommons-io-2.4.pomcommons-io-2.4-bin.zip.asccommons-io-2.4-sources.jar.asccommons-io-2.4-bin.zipcommons-io-2.4-test-sources.jarcommons-io-2.4-sources.jarcommons-io-2.4-bin.tar.gzcommons-io-2.4-src.tar.gzcommons-io-2.4-bin.tar.gz.asccommons-io-2.4-src.tar.gz.asccommons-io-2.4-src.ziparchetype-catalog.xml

svn commit: r1349488 - in /commons/proper/io/trunk: pom.xml src/main/java/org/apache/commons/io/FileUtils.java src/test/java/org/apache/commons/io/FileUtilsTestCase.java

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 19:29:22 2012
New Revision: 1349488

URL: http://svn.apache.org/viewvc?rev=1349488view=rev
Log:
[IO-326] Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. Thanks 
to Bruno P. Kinoshita for the fix and test case.

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

commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java

Modified: commons/proper/io/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1349488r1=1349487r2=1349488view=diff
==
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/trunk/pom.xml Tue Jun 12 19:29:22 2012
@@ -24,7 +24,7 @@
   modelVersion4.0.0/modelVersion
   groupIdcommons-io/groupId
   artifactIdcommons-io/artifactId
-  version2.4-SNAPSHOT/version
+  version2.4/version
   nameCommons IO/name
 
   inceptionYear2002/inceptionYear

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=1349488r1=1349487r2=1349488view=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 19:29:22 2012
@@ -2511,7 +2511,7 @@ public class FileUtils {
 for (final File file : files) {
 try {
 if (!isSymlink(file)) {
-size.add(BigInteger.valueOf(sizeOf(file)));
+size = size.add(BigInteger.valueOf(sizeOf(file)));
 }
 } catch (IOException ioe) {
 // Ignore exceptions caught when asking if a File is a symlink.

Modified: 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java?rev=1349488r1=1349487r2=1349488view=diff
==
--- 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
 (original)
+++ 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
 Tue Jun 12 19:29:22 2012
@@ -64,6 +64,11 @@ public class FileUtilsTestCase extends F
 private static final BigInteger TEST_DIRECTORY_SIZE_BI = BigInteger.ZERO;
 
 /**
+ * Size (greater of zero) of test file.
+ */
+private static final BigInteger TEST_DIRECTORY_SIZE_GT_ZERO_BI = 
BigInteger.valueOf(100);
+
+/**
  * List files recursively
  */
 private static final ListDirectoryWalker LIST_WALKER = new 
ListDirectoryWalker();
@@ -796,7 +801,8 @@ public class FileUtilsTestCase extends F
 try {
 FileUtils.sizeOfDirectoryAsBigInteger(file);
 fail(Exception expected.);
-} catch (IllegalArgumentException ex) {}
+} catch (IllegalArgumentException ex) {
+}
 
 // Creates file
 file.createNewFile();
@@ -806,7 +812,8 @@ public class FileUtilsTestCase extends F
 try {
 FileUtils.sizeOfDirectoryAsBigInteger(file);
 fail(Exception expected.);
-} catch (IllegalArgumentException ex) {}
+} catch (IllegalArgumentException ex) {
+}
 
 // Existing directory
 file.delete();
@@ -814,10 +821,21 @@ public class FileUtilsTestCase extends F
 
 this.createCircularSymLink(file);
 
-assertEquals(
-Unexpected directory size,
-TEST_DIRECTORY_SIZE_BI,
-FileUtils.sizeOfDirectoryAsBigInteger(file));
+assertEquals(Unexpected directory size, TEST_DIRECTORY_SIZE_BI, 
FileUtils.sizeOfDirectoryAsBigInteger(file));
+
+// Existing directory which size is greater than zero
+file.delete();
+file.mkdir();
+
+File nonEmptyFile = new File(file, nonEmptyFile + System.nanoTime());
+this.createFile(nonEmptyFile, 
TEST_DIRECTORY_SIZE_GT_ZERO_BI.longValue());
+nonEmptyFile.deleteOnExit();
+
+assertEquals(Unexpected directory size, 
TEST_DIRECTORY_SIZE_GT_ZERO_BI,
+FileUtils.sizeOfDirectoryAsBigInteger(file));
+
+nonEmptyFile.delete();
+file.delete();
 }
 
 /**




svn commit: r1349491 - /commons/proper/io/trunk/src/changes/changes.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 19:33:44 2012
New Revision: 1349491

URL: http://svn.apache.org/viewvc?rev=1349491view=rev
Log:
[IO-326] Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. Thanks 
to Bruno P. Kinoshita for the fix and test case.

Modified:
commons/proper/io/trunk/src/changes/changes.xml

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1349491r1=1349490r2=1349491view=diff
==
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Tue Jun 12 19:33:44 2012
@@ -80,7 +80,7 @@ The action type attribute can be add,u
   action issue=IO-327 dev=ggregory type=add due-to=ggregory
 Add byteCountToDisplaySize(BigInteger).
   /action
-  action issue=IO-326 dev=ggregory type=add due-to=ggregory
+  action issue=IO-326 dev=ggregory type=add due-to=ggregory, 
kinow
 Add new FileUtils.sizeOf[Directory] APIs to return BigInteger.
   /action
   action issue=IO-325 dev=ggregory type=add due-to=raviprak




svn commit: r1349493 - /commons/proper/io/trunk/RELEASE-NOTES.txt

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 19:46:55 2012
New Revision: 1349493

URL: http://svn.apache.org/viewvc?rev=1349493view=rev
Log:
Preparing release 2.4-RC2.

Modified:
commons/proper/io/trunk/RELEASE-NOTES.txt

Modified: commons/proper/io/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=1349493r1=1349492r2=1349493view=diff
==
--- commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/io/trunk/RELEASE-NOTES.txt Tue Jun 12 19:46:55 2012
@@ -25,7 +25,7 @@ o IO-333:  Export OSGi packages at versi
 o IO-320:  Add XmlStreamReader support for UTF-32. Thanks to ggregory. 
 o IO-331:  BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM 
files in method getBOM(). Thanks to ggregory. 
 o IO-327:  Add byteCountToDisplaySize(BigInteger). Thanks to ggregory. 
-o IO-326:  Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. 
Thanks to ggregory. 
+o IO-326:  Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. 
Thanks to ggregory, kinow. 
 o IO-325:  Add IOUtils.toByteArray methods to work with URL and URI. Thanks to 
raviprak. 
 o IO-324:  Add missing Charset sister APIs to method that take a String 
charset name. Thanks to raviprak. 
 




svn commit: r1349494 - /commons/proper/io/trunk/pom.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 19:47:33 2012
New Revision: 1349494

URL: http://svn.apache.org/viewvc?rev=1349494view=rev
Log:
Preparing release 2.4-RC2.

Modified:
commons/proper/io/trunk/pom.xml

Modified: commons/proper/io/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1349494r1=1349493r2=1349494view=diff
==
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/trunk/pom.xml Tue Jun 12 19:47:33 2012
@@ -24,7 +24,7 @@
   modelVersion4.0.0/modelVersion
   groupIdcommons-io/groupId
   artifactIdcommons-io/artifactId
-  version2.4/version
+  version2.4-SNAPSHOT/version
   nameCommons IO/name
 
   inceptionYear2002/inceptionYear




svn commit: r1349495 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java

2012-06-12 Thread simonetripodi
Author: simonetripodi
Date: Tue Jun 12 19:47:49 2012
New Revision: 1349495

URL: http://svn.apache.org/viewvc?rev=1349495view=rev
Log:
dropped useless modifiers (thanks Bene)

Modified:

commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java

Modified: 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java?rev=1349495r1=1349494r2=1349495view=diff
==
--- 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java
 (original)
+++ 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanProperties.java
 Tue Jun 12 19:47:49 2012
@@ -68,7 +68,7 @@ public interface BeanPropertiesB
  * @throws IntrospectionException
  * @throws NoSuchMethodException
  */
-public abstract PropertyDescriptor getPropertyDescriptor( String 
propertyName )
+PropertyDescriptor getPropertyDescriptor( String propertyName )
 throws IntrospectionException;
 
 /**
@@ -78,7 +78,7 @@ public interface BeanPropertiesB
  * @throws IntrospectionException
  * @throws NoSuchMethodException
  */
-public abstract Method getReadPropertyMethod( String propertyName )
+Method getReadPropertyMethod( String propertyName )
 throws IntrospectionException, NoSuchMethodException;
 
 /**
@@ -88,7 +88,7 @@ public interface BeanPropertiesB
  * @throws NoSuchMethodException
  * @throws IntrospectionException
  */
-public abstract Method getWriteMethod( String name )
+Method getWriteMethod( String name )
 throws NoSuchMethodException, IntrospectionException;
 
 /**
@@ -98,7 +98,7 @@ public interface BeanPropertiesB
  * @throws NoSuchMethodException
  * @throws IntrospectionException
  */
-public abstract IndexedPropertyDescriptor getIndexedPropertyDescriptor( 
String propertyName )
+IndexedPropertyDescriptor getIndexedPropertyDescriptor( String 
propertyName )
 throws NoSuchMethodException, IntrospectionException;
 
 /**
@@ -108,7 +108,7 @@ public interface BeanPropertiesB
  * @throws NoSuchMethodException
  * @throws IntrospectionException
  */
-public abstract Method getIndexedReadMethod( String propertyName )
+Method getIndexedReadMethod( String propertyName )
 throws NoSuchMethodException, IntrospectionException;
 
 /**
@@ -118,7 +118,7 @@ public interface BeanPropertiesB
  * @throws NoSuchMethodException
  * @throws IntrospectionException
  */
-public abstract Method getIndexedWriteMethod( String propertyName )
+Method getIndexedWriteMethod( String propertyName )
 throws NoSuchMethodException, IntrospectionException;
 
 /**
@@ -126,7 +126,7 @@ public interface BeanPropertiesB
  * @return
  * @throws IntrospectionException
  */
-public abstract MapString, PropertyDescriptor getPropertiesIndex()
+MapString, PropertyDescriptor getPropertiesIndex()
 throws IntrospectionException;
 
 }




svn commit: r1349498 - in /commons/proper/io/tags/2.4-RC2: ./ RELEASE-NOTES.txt pom.xml src/changes/changes.xml src/main/java/org/apache/commons/io/FileUtils.java src/test/java/org/apache/commons/io/F

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 19:48:47 2012
New Revision: 1349498

URL: http://svn.apache.org/viewvc?rev=1349498view=rev
Log:
Create commons-io-2.4-RC2.

Added:
commons/proper/io/tags/2.4-RC2/
  - copied from r1349401, commons/proper/io/trunk/
commons/proper/io/tags/2.4-RC2/RELEASE-NOTES.txt
  - copied unchanged from r1349493, 
commons/proper/io/trunk/RELEASE-NOTES.txt
commons/proper/io/tags/2.4-RC2/pom.xml
  - copied, changed from r1349494, commons/proper/io/trunk/pom.xml
commons/proper/io/tags/2.4-RC2/src/changes/changes.xml
  - copied unchanged from r1349491, 
commons/proper/io/trunk/src/changes/changes.xml

commons/proper/io/tags/2.4-RC2/src/main/java/org/apache/commons/io/FileUtils.java
  - copied unchanged from r1349488, 
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

commons/proper/io/tags/2.4-RC2/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
  - copied unchanged from r1349488, 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java

Copied: commons/proper/io/tags/2.4-RC2/pom.xml (from r1349494, 
commons/proper/io/trunk/pom.xml)
URL: 
http://svn.apache.org/viewvc/commons/proper/io/tags/2.4-RC2/pom.xml?p2=commons/proper/io/tags/2.4-RC2/pom.xmlp1=commons/proper/io/trunk/pom.xmlr1=1349494r2=1349498rev=1349498view=diff
==
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/tags/2.4-RC2/pom.xml Tue Jun 12 19:48:47 2012
@@ -24,7 +24,7 @@
   modelVersion4.0.0/modelVersion
   groupIdcommons-io/groupId
   artifactIdcommons-io/artifactId
-  version2.4-SNAPSHOT/version
+  version2.4/version
   nameCommons IO/name
 
   inceptionYear2002/inceptionYear




Nexus: Staging Repository Dropped.

2012-06-12 Thread Nexus Repository Manager
Description:Drop Commons IO 2.4-RC1.Details:The org.apache.commons-228 (u:ggregory, a:98.180.79.15) staging repository has been dropped.

Nexus: Staging Completed.

2012-06-12 Thread Nexus Repository Manager
Description:Close Commons IO 2.4-RC2.Details:The following artifacts have been staged to the org.apache.commons-230 (u:ggregory, a:98.180.79.15) repository.commons-io-2.4-javadoc.jarcommons-io-2.4.jar.asccommons-io-2.4.jarcommons-io-2.4-tests.jar.asccommons-io-2.4-tests.jarcommons-io-2.4-javadoc.jar.asccommons-io-2.4-test-sources.jar.asccommons-io-2.4-src.zip.asccommons-io-2.4.pom.asccommons-io-2.4.pomcommons-io-2.4-bin.zip.asccommons-io-2.4-sources.jar.asccommons-io-2.4-bin.zipcommons-io-2.4-test-sources.jarcommons-io-2.4-sources.jarcommons-io-2.4-bin.tar.gzcommons-io-2.4-src.tar.gzcommons-io-2.4-bin.tar.gz.asccommons-io-2.4-src.tar.gz.asccommons-io-2.4-src.ziparchetype-catalog.xml

svn commit: r1349509 - in /commons/proper/io/trunk/src: changes/changes.xml main/java/org/apache/commons/io/FileUtils.java

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 20:39:23 2012
New Revision: 1349509

URL: http://svn.apache.org/viewvc?rev=1349509view=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=1349509r1=1349508r2=1349509view=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=1349509r1=1349508r2=1349509view=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 codeFile/code.




Nexus: Staging Repository Dropped.

2012-06-12 Thread Nexus Repository Manager
Description:Drop Commons IO 2.4-RC2.Details:The org.apache.commons-230 (u:ggregory, a:98.180.79.15) staging repository has been dropped.

svn commit: r1349521 - /commons/proper/ognl/trunk/pom.xml

2012-06-12 Thread simonetripodi
Author: simonetripodi
Date: Tue Jun 12 20:55:34 2012
New Revision: 1349521

URL: http://svn.apache.org/viewvc?rev=1349521view=rev
Log:
updated parent reference to v25

Modified:
commons/proper/ognl/trunk/pom.xml

Modified: commons/proper/ognl/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/ognl/trunk/pom.xml?rev=1349521r1=1349520r2=1349521view=diff
==
--- commons/proper/ognl/trunk/pom.xml (original)
+++ commons/proper/ognl/trunk/pom.xml Tue Jun 12 20:55:34 2012
@@ -22,7 +22,7 @@ limitations under the License.
  parent
groupIdorg.apache.commons/groupId
artifactIdcommons-parent/artifactId
-   version22/version
+   version25/version
  /parent
 
   groupIdorg.apache.commons/groupId




svn commit: r1349567 - /commons/proper/io/trunk/RELEASE-NOTES.txt

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 22:16:48 2012
New Revision: 1349567

URL: http://svn.apache.org/viewvc?rev=1349567view=rev
Log:
Preparing release 2.4-RC2.

Modified:
commons/proper/io/trunk/RELEASE-NOTES.txt

Modified: commons/proper/io/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=1349567r1=1349566r2=1349567view=diff
==
--- commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/io/trunk/RELEASE-NOTES.txt Tue Jun 12 22:16:48 2012
@@ -30,6 +30,7 @@ o IO-325:  Add IOUtils.toByteArray metho
 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. 




svn commit: r1349568 - /commons/proper/io/tags/2.4-RC2/

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 22:18:27 2012
New Revision: 1349568

URL: http://svn.apache.org/viewvc?rev=1349568view=rev
Log:
Removing RC that was never voted on

Removed:
commons/proper/io/tags/2.4-RC2/



svn commit: r1349569 - in /commons/proper/io/tags/2.4-RC2: ./ pom.xml

2012-06-12 Thread ggregory
Author: ggregory
Date: Tue Jun 12 22:18:36 2012
New Revision: 1349569

URL: http://svn.apache.org/viewvc?rev=1349569view=rev
Log:
Create commons-io-2.4-RC2.

Added:
commons/proper/io/tags/2.4-RC2/
  - copied from r1349567, commons/proper/io/trunk/
Modified:
commons/proper/io/tags/2.4-RC2/pom.xml

Modified: commons/proper/io/tags/2.4-RC2/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/io/tags/2.4-RC2/pom.xml?rev=1349569r1=1349567r2=1349569view=diff
==
--- commons/proper/io/tags/2.4-RC2/pom.xml (original)
+++ commons/proper/io/tags/2.4-RC2/pom.xml Tue Jun 12 22:18:36 2012
@@ -24,7 +24,7 @@
   modelVersion4.0.0/modelVersion
   groupIdcommons-io/groupId
   artifactIdcommons-io/artifactId
-  version2.4-SNAPSHOT/version
+  version2.4/version
   nameCommons IO/name
 
   inceptionYear2002/inceptionYear




Nexus: Staging Completed.

2012-06-12 Thread Nexus Repository Manager
Description:Close Commons 2.4-RC2.Details:The following artifacts have been staged to the org.apache.commons-231 (u:ggregory, a:98.180.79.15) repository.commons-io-2.4-javadoc.jarcommons-io-2.4.jar.asccommons-io-2.4.jarcommons-io-2.4-tests.jar.asccommons-io-2.4-tests.jarcommons-io-2.4-javadoc.jar.asccommons-io-2.4-test-sources.jar.asccommons-io-2.4-src.zip.asccommons-io-2.4.pom.asccommons-io-2.4.pomcommons-io-2.4-bin.zip.asccommons-io-2.4-sources.jar.asccommons-io-2.4-bin.zipcommons-io-2.4-test-sources.jarcommons-io-2.4-sources.jarcommons-io-2.4-bin.tar.gzcommons-io-2.4-src.tar.gzcommons-io-2.4-bin.tar.gz.asccommons-io-2.4-src.tar.gz.asccommons-io-2.4-src.ziparchetype-catalog.xml