use getDocBuilder()

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@888272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-12-08 05:59:22 +00:00
parent 2c6073f5b9
commit 414532ac94
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class BinContentStreamDataSource extends DataSource<InputStream> {
}
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 {

View File

@ -44,7 +44,7 @@ public class ContentStreamDataSource extends DataSource<Reader> {
}
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 {