[ https://issues.apache.org/jira/browse/SOLR-14567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17138751#comment-17138751 ]
Megan Carey commented on SOLR-14567: ------------------------------------ [~erickerickson] - is there any chance you're considering removing some of components of Utils.java in the SolrJ module? Some of the variables, like `NEW_HASHMAP_FUN`, are used in several places to satisfy Map.computeIfAbsent mapping function. Because `NEW_HASHMAP_FUN` provides such a generic mapping function, it requires @SuppressWarnings not only in its initialization, but also anywhere that it's used. Seems like a strange practice to me, but perhaps this is a commonplace solution? Class in question: [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java] > Fix or suppress remaining warnings in solrj > ------------------------------------------- > > Key: SOLR-14567 > URL: https://issues.apache.org/jira/browse/SOLR-14567 > Project: Solr > Issue Type: Sub-task > Reporter: Erick Erickson > Assignee: Erick Erickson > Priority: Major > Fix For: 8.6 > > > This is another place where the number of warnings per directory is getting > too small to do individually, so I'll do them all in a bunch. > Note: this will exclude autoscaling. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org