Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 31E5F200CBD for ; Thu, 6 Jul 2017 21:52:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 306A6167473; Thu, 6 Jul 2017 19:52:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 77CFB16746F for ; Thu, 6 Jul 2017 21:52:22 +0200 (CEST) Received: (qmail 26915 invoked by uid 500); 6 Jul 2017 19:52:21 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 26902 invoked by uid 99); 6 Jul 2017 19:52:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2017 19:52:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 446F2E1863; Thu, 6 Jul 2017 19:52:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nightowl888@apache.org To: commits@lucenenet.apache.org Date: Thu, 06 Jul 2017 19:52:21 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] lucenenet git commit: 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 ToUpper archived-at: Thu, 06 Jul 2017 19:52:23 -0000 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 Authored: Thu Jul 6 23:45:17 2017 +0700 Committer: Shad Storhaug 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] == '-';