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

reference to ParseException is ambiguous

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • core/queryparser
    • None
    • Operating System: All
      Platform: PC

    • 5313

    Description

      Is it good that two exceptions in different packages has equal names ???

      "SearchRAM.java": Error #: 304 : reference to ParseException is ambiguous; both
      class org.apache.lucene.queryParser.ParseException in package
      org.apache.lucene.queryParser and class
      org.apache.lucene.analysis.standard.ParseException in package
      org.apache.lucene.analysis.standard match at line 186, column 13

      I don't want to write long name like here:
      }catch( org.apache.lucene.queryParser.ParseException e ){

      • it's not a good style.

      Thank you !

      Attachments

        Activity

          People

            java-dev@lucene.apache.org Lucene Developers
            bitl@mail.ru Serge A. Redchuk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: