lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DM Smith (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-611) TestConstantScoreRangeQuery does not compile with ecj
Date Thu, 22 Jun 2006 13:51:29 GMT
TestConstantScoreRangeQuery does not compile with ecj
-----------------------------------------------------

         Key: LUCENE-611
         URL: http://issues.apache.org/jira/browse/LUCENE-611
     Project: Lucene - Java
        Type: Bug

  Components: Search  
    Versions: 2.0.0    
 Environment: Eclipse 3.1.2, FC5
    Reporter: DM Smith


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message