andywebb1975 commented on code in PR #875:
URL: https://github.com/apache/solr/pull/875#discussion_r895217882


##########
solr/core/src/java/org/apache/solr/core/QuerySenderListener.java:
##########
@@ -46,7 +46,8 @@ public void newSearcher(SolrIndexSearcher newSearcher, 
SolrIndexSearcher current
     final SolrIndexSearcher searcher = newSearcher;
     log.debug("QuerySenderListener sending requests to {}", newSearcher);
     @SuppressWarnings("unchecked")
-    List<NamedList<Object>> allLists = (List<NamedList<Object>>) 
getArgs().get("queries");
+    ArrayList<NamedList<Object>> allLists =

Review Comment:
   OK, I've switched `allLists` back to being a `List` - though 
`queries2list()` will always create an `ArrayList` because `List` can't be 
instantiated. I don't have a strong preference either way - happy to take your 
guidance!



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to