You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2019/09/06 09:01:26 UTC
[lucenenet] 16/21: Lucene.Net.QueryParser.Classic.ParseException:
Removed unnecessary namespace
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 2d5017935dfe2963a4b9c267f6ed879f4fb50cf0
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Sep 4 00:00:03 2019 +0700
Lucene.Net.QueryParser.Classic.ParseException: Removed unnecessary namespace
---
src/Lucene.Net.QueryParser/Classic/ParseException.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Lucene.Net.QueryParser/Classic/ParseException.cs b/src/Lucene.Net.QueryParser/Classic/ParseException.cs
index f5dc29e..0b70fb5 100644
--- a/src/Lucene.Net.QueryParser/Classic/ParseException.cs
+++ b/src/Lucene.Net.QueryParser/Classic/ParseException.cs
@@ -249,7 +249,7 @@ namespace Lucene.Net.QueryParsers.Classic
default:
if ((ch = str[i]) < 0x20 || ch > 0x7e)
{
- string s = "0000" + System.Convert.ToString(ch, 16);
+ string s = "0000" + Convert.ToString(ch, 16);
retval.Append("\\u" + s.Substring(s.Length - 4, (s.Length) - (s.Length - 4)));
}
else