[
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17142003#comment-17142003
]
Erick Erickson commented on SOLR-14579:
---------------------------------------
I'm still working on it. 9x should compile cleanly, 8x still has a bit of
cleanup I need to do.
I suppressed warnings in as small a chunk as I could quickly, so new code will
generate new ones. In fact I think that's happened already. There'll be new
warnings generated until I can check in LUCENE-9411, which I will do as soon as
I can work out some stupid licensing issues. LUCENE-9411 will also fix up any
new warnings that have crept in since I made my first pass. It will fail both
Gradle and Ant builds on 9x and 8x.
So if you're changing code, expect to see these and expect me to complain...
Meanwhile, do please pay attention to warnings when compiling and do something
to get them out. We haven't been able to pay attention in the past because
there were too many of them to cope with (8,000+ in Solr). And do try to fix
the warning rather than add SuppressWarnings, there were so many that I had no
chance of fixing the underlying issues in my lifetime so I just suppressed them.
> Remove SolrJ 'Utils' generic map functions
> ------------------------------------------
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: master (9.0)
> Reporter: Megan Carey
> Assignee: Noble Paul
> Priority: Minor
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]