fix spelling in Exceptions

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@769656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2009-04-29 04:57:19 +00:00
parent aaf2be3f73
commit 3dc6f5e2f2
1 changed files with 3 additions and 3 deletions

View File

@ -331,17 +331,17 @@ public class DocumentAnalysisRequestHandler extends AnalysisRequestHandlerBase {
Iterable<ContentStream> streams = req.getContentStreams();
if (streams == null) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"DocumentAnlysisRequestHandler expects a single content stream with documents to analys");
"DocumentAnlysisRequestHandler expects a single content stream with documents to analyze");
}
Iterator<ContentStream> iter = streams.iterator();
if (!iter.hasNext()) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"DocumentAnlysisRequestHandler expects a single content stream with documents to analys");
"DocumentAnlysisRequestHandler expects a single content stream with documents to analyze");
}
ContentStream stream = iter.next();
if (iter.hasNext()) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"DocumentAnlysisRequestHandler expects a single content stream with documents to analys");
"DocumentAnlysisRequestHandler expects a single content stream with documents to analyze");
}
return stream;
}