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

TestConstantScoreRangeQuery does not compile with ecj

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment