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
The following commit(s) were added to refs/heads/master by this push:
new 089a439d8 Lucene.Net.Analysis.Cn.Smart.Utility: Changed SPACES to use
an encoded character for '\u3000' so it is visible in the designer. Fixes #680.
089a439d8 is described below
commit 089a439d82e95708d55f39a64206cccba39cf5da
Author: Shad Storhaug <[email protected]>
AuthorDate: Sun Oct 16 17:14:03 2022 +0700
Lucene.Net.Analysis.Cn.Smart.Utility: Changed SPACES to use an encoded
character for '\u3000' so it is visible in the designer. Fixes #680.
---
src/Lucene.Net.Analysis.SmartCn/Utility.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Lucene.Net.Analysis.SmartCn/Utility.cs
b/src/Lucene.Net.Analysis.SmartCn/Utility.cs
index 04351a5b0..6ab9c843d 100644
--- a/src/Lucene.Net.Analysis.SmartCn/Utility.cs
+++ b/src/Lucene.Net.Analysis.SmartCn/Utility.cs
@@ -41,7 +41,7 @@ namespace Lucene.Net.Analysis.Cn.Smart
/// <summary>
/// Space-like characters that need to be skipped: such as space, tab,
newline, carriage return.
/// </summary>
- public static readonly string SPACES = " \t\r\n";
+ public static readonly string SPACES = " \u3000\t\r\n"; // LUCENENET
specific - made the U+3000 character explicitly visible:
https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS2479&id=nikcio_lucenenet
/// <summary>
/// Maximum bigram frequency (used in the smoothing function).