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

TestConstantScoreRangeQuery does not compile with ecj

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1
    • core/search
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: