commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r469386 - in /jakarta/commons/proper/fileupload/trunk: pom.xml src/changes/changes.xml src/java/org/apache/commons/fileupload/util/Streams.java
Date Tue, 31 Oct 2006 06:10:05 GMT
Author: jochen
Date: Mon Oct 30 22:10:04 2006
New Revision: 469386

URL: http://svn.apache.org/viewvc?view=rev&rev=469386
Log:
Made Streams.asString static.

Modified:
    jakarta/commons/proper/fileupload/trunk/pom.xml
    jakarta/commons/proper/fileupload/trunk/src/changes/changes.xml
    jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/util/Streams.java

Modified: jakarta/commons/proper/fileupload/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/pom.xml?view=diff&rev=469386&r1=469385&r2=469386
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/pom.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/pom.xml Mon Oct 30 22:10:04 2006
@@ -77,6 +77,10 @@
 
   <contributors>
     <contributor>
+      <name>Aaron Freeman</name>
+      <email>aaron@sendthisfile.com</email>
+    </contributor>
+    <contributor>
       <name>Amichai Rothman</name>
       <email>amichai2@amichais.net</email>
     </contributor>

Modified: jakarta/commons/proper/fileupload/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/src/changes/changes.xml?view=diff&rev=469386&r1=469385&r2=469386
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/changes/changes.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/src/changes/changes.xml Mon Oct 30 22:10:04 2006
@@ -42,6 +42,11 @@
   <body>
 	<release version="1.2" date="Not yet released">
 
+      <action dev="jochen" type="fix" due-to="Aaron Freeman"
+           due-to-email="aaron@sendthisfile.com">
+        Made Streams.asString static.
+      </action>
+
 	  <action dev="jochen" type="update" issue="FILEUPLOAD-109">
 	    Eliminated duplicate code.
 	  </action>

Modified: jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/util/Streams.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/util/Streams.java?view=diff&rev=469386&r1=469385&r2=469386
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/util/Streams.java
(original)
+++ jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/util/Streams.java
Mon Oct 30 22:10:04 2006
@@ -125,7 +125,7 @@
      * @param pStream The input stream to read.
      * @see #asString(InputStream, String)
      */
-    public String asString(InputStream pStream) throws IOException {
+    public static String asString(InputStream pStream) throws IOException {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         copy(pStream, baos, true);
         return baos.toString();
@@ -138,7 +138,7 @@
      * @param pEncoding The character encoding, typically "UTF-8".
      * @see #asString(InputStream)
      */
-    public String asString(InputStream pStream, String pEncoding)
+    public static String asString(InputStream pStream, String pEncoding)
             throws IOException {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         copy(pStream, baos, true);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message