dsmiley commented on code in PR #4513:
URL: https://github.com/apache/solr/pull/4513#discussion_r3410023427


##########
solr/core/src/java/org/apache/solr/cli/StreamTool.java:
##########
@@ -257,7 +273,11 @@ public synchronized void close() {
 
     StreamContext streamContext = new StreamContext();
     streamContext.setSolrClientCache(solrClientCache);
-    streamContext.getStreamFactory().withDefaultSolrConnection(solrConnection);
+
+    StreamFactory streamFactory = new StreamFactory();
+    Lang.register(streamFactory);

Review Comment:
   Can use `DefaultStreamFactory` more simply, which calls Lang.register



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