stillalex commented on code in PR #1332:
URL: https://github.com/apache/solr/pull/1332#discussion_r1103338113


##########
solr/core/src/java/org/apache/solr/jersey/SolrRequestAuthorizer.java:
##########
@@ -66,7 +67,9 @@ public void filter(ContainerRequestContext requestContext) 
throws IOException {
         (AuthorizationContext.RequestType)
             requestContext.getProperty(RequestContextKeys.REQUEST_TYPE);
     final List<String> collectionNames =
-        (List<String>) 
requestContext.getProperty(RequestContextKeys.COLLECTION_LIST);
+        Objects.requireNonNullElse(

Review Comment:
   hmm. hit this during unit testing. looked again and maybe it's due to my 
test rather than the value being null. will check again and remove this if it's 
not needed.



-- 
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

Reply via email to