commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1586310 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
Date Thu, 10 Apr 2014 14:11:45 GMT
Author: ggregory
Date: Thu Apr 10 14:11:44 2014
New Revision: 1586310

URL: http://svn.apache.org/r1586310
Log:
Make EOF public for use as a static import.

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

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java?rev=1586310&r1=1586309&r2=1586310&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java Thu Apr 10 14:11:44
2014
@@ -90,7 +90,11 @@ public class IOUtils {
     // Writer. Each method should take at least one of these as a parameter,
     // or return one of them.
 
-    private static final int EOF = -1;
+    /**
+     * Represents the end-of-file (or stream).
+     */
+    public static final int EOF = -1;
+    
     /**
      * The Unix directory separator character.
      */



Mime
View raw message