lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r634542 - /lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java
Date Fri, 07 Mar 2008 05:22:42 GMT
Author: ryan
Date: Thu Mar  6 21:22:41 2008
New Revision: 634542

URL: http://svn.apache.org/viewvc?rev=634542&view=rev
Log:
RawResponse should use the Reader rather then a Stream

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java?rev=634542&r1=634541&r2=634542&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/request/RawResponseWriter.java Thu Mar  6 21:22:41
2008
@@ -82,7 +82,7 @@
     if( obj != null && (obj instanceof ContentStream ) ) {
       // copy the contents to the writer...
       ContentStream content = (ContentStream)obj;
-      IOUtils.copy( content.getStream(), writer );
+      IOUtils.copy( content.getReader(), writer );
     }
     else {
       getBaseWriter( request ).write( writer, request, response );



Mime
View raw message