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 8a22620a0 fix: Fixed '&' to '&&'
8a22620a0 is described below
commit 8a22620a01b757c44bf6799c77c0e7dfd5391fea
Author: Nikolaj Brask-Nielsen <[email protected]>
AuthorDate: Sun Oct 16 16:39:07 2022 +0200
fix: Fixed '&' to '&&'
---
src/Lucene.Net.Analysis.Common/Analysis/Nl/DutchStemmer.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Nl/DutchStemmer.cs
b/src/Lucene.Net.Analysis.Common/Analysis/Nl/DutchStemmer.cs
index 108858efa..c9193b759 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Nl/DutchStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Nl/DutchStemmer.cs
@@ -205,7 +205,7 @@ namespace Lucene.Net.Analysis.Nl
sb.Remove(index, index + 3 - index);
if (sb[index - 2] == 'i' && sb[index - 1] == 'g')
{
- if (sb[index - 3] != 'e' & index - 2 >= _R2)
+ if (sb[index - 3] != 'e' && index - 2 >= _R2) //
LUCENENET: '&' was changed to '&&' following -
https://github.com/apache/lucenenet/issues/673
{
index -= 2;
sb.Remove(index, index + 2 - index);