dsmiley commented on code in PR #3140: URL: https://github.com/apache/solr/pull/3140#discussion_r1935063818
########## solr/solrj/src/java/org/apache/solr/client/solrj/request/AbstractUpdateRequest.java: ########## @@ -21,10 +21,9 @@ import org.apache.solr.common.params.ModifiableSolrParams; import org.apache.solr.common.params.UpdateParams; -/** */ public abstract class AbstractUpdateRequest extends CollectionRequiringSolrRequest<UpdateResponse> implements IsUpdateRequest { - protected ModifiableSolrParams params; + protected ModifiableSolrParams params = new ModifiableSolrParams(); // TODO make final Review Comment: It's easy for me to enforce that setParams arg isn't null. I'll do that. setParams is called kinda a lot BTW, although I feel it's usually not needed. I can do a follow-up draft PR to show you what it looks like if *nobody* calls it. -- 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