Repository: lucenenet Updated Branches: refs/heads/master 93f57ed17 -> 9a8c9f203
BUG: Lucene.Net.Analysis.Stempel: Fixed casing issue with passed in argument. Ended up just removing the line altogether because it doesn't actually do anything but waste CPU cycles because it doesn't use the result of ToUpperInvariant() Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/ba73b76c Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/ba73b76c Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/ba73b76c Branch: refs/heads/master Commit: ba73b76c491fda236c341762a3a3391b76a2e054 Parents: 93f57ed Author: Shad Storhaug <[email protected]> Authored: Thu Jul 6 23:45:17 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Thu Jul 6 23:45:17 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ba73b76c/src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs b/src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs index 9bbfa71..04fd5a4 100644 --- a/src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs +++ b/src/Lucene.Net.Analysis.Stempel/Egothor.Stemmer/Compile.cs @@ -91,7 +91,9 @@ namespace Egothor.Stemmer return; } - args[0] = args[0].ToUpperInvariant(); + // LUCENENET NOTE: This line does nothing in .NET + // and also does nothing in Java...what? + //args[0].ToUpperInvariant(); // Reads the first char of the first arg backward = args[0][0] == '-';
