From d85c2e13dc115e89f563d77150e1a52a5a43be96 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 7 Jul 2011 11:58:12 +0000 Subject: [PATCH] remove useless TS.reset() call git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143783 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/solr/handler/AnalysisRequestHandlerBase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/solr/src/java/org/apache/solr/handler/AnalysisRequestHandlerBase.java b/solr/src/java/org/apache/solr/handler/AnalysisRequestHandlerBase.java index 5def900e97f..04b26e1da7e 100644 --- a/solr/src/java/org/apache/solr/handler/AnalysisRequestHandlerBase.java +++ b/solr/src/java/org/apache/solr/handler/AnalysisRequestHandlerBase.java @@ -89,7 +89,6 @@ public abstract class AnalysisRequestHandlerBase extends RequestHandlerBase { TokenStream tokenStream = null; try { tokenStream = analyzer.reusableTokenStream(context.getFieldName(), new StringReader(value)); - tokenStream.reset(); } catch (IOException e) { throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, e); }