Benson Margulies created LUCENE-4036:
----------------------------------------

             Summary: HaversineConstFunction ignores one of its two values, is 
this on purpose?
                 Key: LUCENE-4036
                 URL: https://issues.apache.org/jira/browse/LUCENE-4036
             Project: Lucene - Java
          Issue Type: Bug
          Components: core/other
    Affects Versions: 4.0
            Reporter: Benson Margulies


org.apache.solr.search.function.distance.HaversineConstFunction.parser.new 
ValueSourceParser() {...}.parse(FunctionQParser)

has an unused variable warning for 'vs2', and uses vs1 to initialize mv2. Maybe 
vs2 should just be deleted?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to