lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r888272 - in /lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport: BinContentStreamDataSource.java ContentStreamDataSource.java
Date Tue, 08 Dec 2009 05:59:23 GMT
Author: noble
Date: Tue Dec  8 05:59:22 2009
New Revision: 888272

URL: http://svn.apache.org/viewvc?rev=888272&view=rev
Log:
use getDocBuilder()

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/BinContentStreamDataSource.java
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ContentStreamDataSource.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/BinContentStreamDataSource.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/BinContentStreamDataSource.java?rev=888272&r1=888271&r2=888272&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/BinContentStreamDataSource.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/BinContentStreamDataSource.java
Tue Dec  8 05:59:22 2009
@@ -44,7 +44,7 @@
   }
 
   public InputStream getData(String query) {
-     contentStream = context.docBuilder.requestParameters.contentStream;
+     contentStream = context.getDocBuilder().requestParameters.contentStream;
     if (contentStream == null)
       throw new DataImportHandlerException(SEVERE, "No stream available. The request has
no body");
     try {

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ContentStreamDataSource.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ContentStreamDataSource.java?rev=888272&r1=888271&r2=888272&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ContentStreamDataSource.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ContentStreamDataSource.java
Tue Dec  8 05:59:22 2009
@@ -44,7 +44,7 @@
   }
 
   public Reader getData(String query) {
-    contentStream = context.docBuilder.requestParameters.contentStream;
+    contentStream = context.getDocBuilder().requestParameters.contentStream;
     if (contentStream == null)
       throw new DataImportHandlerException(SEVERE, "No stream available. The request has
no body");
     try {



Mime
View raw message