You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2015/02/17 09:23:12 UTC

[jira] [Resolved] (LUCENE-6248) Remove unused odd constants from StandardSyntaxParser.jj

     [ https://issues.apache.org/jira/browse/LUCENE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss resolved LUCENE-6248.
---------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 5.0)
                   5.1
                   Trunk

> Remove unused odd constants from StandardSyntaxParser.jj
> --------------------------------------------------------
>
>                 Key: LUCENE-6248
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6248
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6248.patch
>
>
> This block of constants struct me as odd -- looked like a bug to me at first:
> {code}
>  public class StandardSyntaxParser implements SyntaxParser, StandardSyntaxParserConstants {
>   private static final int CONJ_NONE =0;
>   private static final int CONJ_AND =2;
>   private static final int CONJ_OR =2; 
> {code}
> but it turns out they're not used at all anymore -- there is a Conjunction block that is all commented out. 



--
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