You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2015/07/31 11:30:04 UTC
[jira] [Commented] (LUCENE-6620) Ignored statement
[ https://issues.apache.org/jira/browse/LUCENE-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648975#comment-14648975 ]
Christine Poerschke commented on LUCENE-6620:
---------------------------------------------
{{Compile.java}} is in {{lucene/analysis/stempel/src/java/org/egothor/stemmer}} directory.
currently the code does this:
{code}
args[0].toUpperCase(Locale.ROOT);
...
multi = args[0].charAt(qq) == 'M';
{code}
was something like this intended perhaps?
{code}
... = args[0].toUpperCase(Locale.ROOT);
{code}
> Ignored statement
> -----------------
>
> Key: LUCENE-6620
> URL: https://issues.apache.org/jira/browse/LUCENE-6620
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> Affects Versions: Trunk
> Reporter: Rishabh Patel
> Priority: Trivial
>
> {code:title=Compile.java|borderStyle=solid}
> public static void main(java.lang.String[] args) throws Exception {
> ...
> args[0].toUpperCase(Locale.ROOT);
> ...
> }
> {code}
> In the file {{Compile.java}}, the argument string does not get capitalized.
> Is this statement redundant?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org