[ 
https://issues.apache.org/jira/browse/LUCENE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322721#comment-14322721
 ] 

Uwe Schindler commented on LUCENE-6248:
---------------------------------------

If its unused, nuke it! :-) I think it is a relict from earlier times. I 
remember about bugs with conjunctions...

> 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: 5.0
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to