sijuv commented on code in PR #3222:
URL: https://github.com/apache/solr/pull/3222#discussion_r1984125791


##########
solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java:
##########
@@ -183,7 +182,7 @@ public class SolrIndexSearcher extends IndexSearcher 
implements Closeable, SolrI
   @SuppressWarnings({"rawtypes"})
   private final SolrCache[] cacheList;
 
-  private DirectoryFactory directoryFactory;
+  private final DirectoryFactory directoryFactory;

Review Comment:
   this variable cold be final.



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