[
https://issues.apache.org/jira/browse/LUCENE-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989708#comment-13989708
]
Ryan Ernst commented on LUCENE-3538:
------------------------------------
{quote}
Can anybody tell me what would be "warning free" signatures of following to
methods
org.apache.lucene.queries.function.ValueSource#getValues
org.apache.lucene.queries.function.ValueSource#createWeight
{quote}
Both of these have warnings because of the bare Map (ie Object->Object). I had
opened LUCENE-5335 to clean this up, but there is contention about the purpose
of the map. I believe the only way to "fix" this for now is to add a
suppression for rawtypes.
> fix java7 warnings in the source code
> -------------------------------------
>
> Key: LUCENE-3538
> URL: https://issues.apache.org/jira/browse/LUCENE-3538
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Labels: Java7, newdev
>
> Now that oracle has fixed java7 bugs, I imagine some users will want to use
> it.
> Currently if you compile lucene's code with java7 you get a ton of
> warnings... lets clean this up
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]