madrob commented on a change in pull request #2266:
URL: https://github.com/apache/lucene-solr/pull/2266#discussion_r567320257



##########
File path: solr/core/src/java/org/apache/solr/core/SolrCore.java
##########
@@ -3187,20 +3186,29 @@ public void cleanupOldIndexDirectories(boolean reload) {
     }
   }
 
-  @SuppressWarnings({"rawtypes"})
-  private static final Map implicitPluginsInfo = (Map) 
Utils.fromJSONResource("ImplicitPlugins.json");
+  private static final class ImplicitHolder {

Review comment:
       It was always eager reading from disk and lazy copying the plugins and a 
messy combination of the two. Now it’s lazy everything the first time, but yea 
probably could be eager. I don’t think we’re putting in too much complexity 
this way tho 




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to