Repository: lucenenet Updated Branches: refs/heads/api-work 85ac68c39 -> db85011e3
Lucene.Net.QueryParser.Analyzing.AnalyzingQueryParser: removed Locale from string.Format because it is not relevant in this case Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/6c707fee Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/6c707fee Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/6c707fee Branch: refs/heads/api-work Commit: 6c707feea0738fe5fa21bc48256b41b998fc1518 Parents: 85ac68c Author: Shad Storhaug <[email protected]> Authored: Tue Mar 7 15:44:14 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Tue Mar 7 15:44:14 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6c707fee/src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs b/src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs index fb51b28..d1bbec2 100644 --- a/src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs +++ b/src/Lucene.Net.QueryParser/Analyzing/AnalyzingQueryParser.cs @@ -193,7 +193,7 @@ namespace Lucene.Net.QueryParsers.Analyzing if (null != multipleOutputs) { throw new ParseException( - string.Format(Locale, @"Analyzer created multiple terms for ""{0}"": {1}", chunk, multipleOutputs.ToString())); + string.Format(@"Analyzer created multiple terms for ""{0}"": {1}", chunk, multipleOutputs.ToString())); } } else @@ -201,13 +201,13 @@ namespace Lucene.Net.QueryParsers.Analyzing // nothing returned by analyzer. Was it a stop word and the user accidentally // used an analyzer with stop words? stream.End(); - throw new ParseException(string.Format(Locale, @"Analyzer returned nothing for ""{0}""", chunk)); + throw new ParseException(string.Format(@"Analyzer returned nothing for ""{0}""", chunk)); } } catch (System.IO.IOException /*e*/) { throw new ParseException( - string.Format(Locale, @"IO error while trying to analyze single term: ""{0}""", termStr)); + string.Format(@"IO error while trying to analyze single term: ""{0}""", termStr)); } finally {
