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

TestConstantScoreRangeQuery does not compile with ecj

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1
    • Component/s: core/search
    • Labels:
      None
    • Environment:

      Eclipse 3.1.2, FC5

      Description

      TestConstantScoreRangeQuery has an assertEquals(String, Float, Float)
      but most of the calls to assertEquals are (String, int, int).

      ecj complains with the following error:
      The method assertEquals(String, float, float) is ambiguous for the type TestConstantScoreRangeQuery

      The simple solution is to supply an assertEquals(String, int, int) which calls Assert.assertEquals(String, int, int)

      Patch to follow.

        Attachments

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              dmsmith DM Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: