Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6248

Remove unused odd constants from StandardSyntaxParser.jj

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • None
    • New

    Description

      This block of constants struct me as odd – looked like a bug to me at first:

       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; 
      

      but it turns out they're not used at all anymore – there is a Conjunction block that is all commented out.

      Attachments

        1. LUCENE-6248.patch
          13 kB
          Dawid Weiss

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              dweiss Dawid Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: