You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ko...@apache.org on 2009/04/29 06:57:20 UTC
svn commit: r769656 -
/lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java
Author: koji
Date: Wed Apr 29 04:57:19 2009
New Revision: 769656
URL: http://svn.apache.org/viewvc?rev=769656&view=rev
Log:
fix spelling in Exceptions
Modified:
lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java?rev=769656&r1=769655&r2=769656&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/DocumentAnalysisRequestHandler.java Wed Apr 29 04:57:19 2009
@@ -331,17 +331,17 @@
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;
}