risdenk commented on code in PR #1482: URL: https://github.com/apache/solr/pull/1482#discussion_r1145629125
########## solr/core/src/java/org/apache/solr/request/SimpleFacets.java: ########## @@ -595,7 +595,7 @@ private NamedList<Integer> getTermCounts(String field, Integer mincount, ParsedP break; case UIF: // Emulate the JSON Faceting structure so we can use the same parsing classes - Map<String, Object> jsonFacet = new HashMap<>(13); + Map<String, Object> jsonFacet = CollectionUtil.newHashMap(13); Review Comment: Fixed in 5cf9f86eb8dce4627068ccc1b537ff68ce45873f. I think there are a handful of other places that could be a smarter conversion just didn't tackle it here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org