sigram commented on a change in pull request #2065:
URL: https://github.com/apache/lucene-solr/pull/2065#discussion_r524211640



##########
File path: solr/core/src/java/org/apache/solr/api/ContainerPluginsRegistry.java
##########
@@ -114,6 +118,16 @@ public synchronized ApiInfo getPlugin(String name) {
     return currentPlugins.get(name);
   }
 
+  static class PluginMetaHolder {
+    private final Map<String, Object> original;
+    private final PluginMeta meta;

Review comment:
       Let's make it a sub-class.
   
   (I would argue that it belongs in this PR because it's a part of the 
configuration mechanism for the plugins that this PR defines. Since we are 
adding a flexible config bean it doesn't make sense to still keep the old 
primitive field. And you can always ADD fields in subclasses but removing them 
is much harder... ;) )




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