murblanc commented on a change in pull request #2101: URL: https://github.com/apache/lucene-solr/pull/2101#discussion_r536270908
########## File path: solr/core/src/java/org/apache/solr/cluster/placement/plugins/MinimizeCoresPlacementFactory.java ########## @@ -40,13 +40,23 @@ * * <p>See {@link AffinityPlacementFactory} for a more realistic example and documentation.</p> */ -public class MinimizeCoresPlacementFactory implements PlacementPluginFactory { +public class MinimizeCoresPlacementFactory implements PlacementPluginFactory<PlacementPluginFactory.NoConfig> { @Override - public PlacementPlugin createPluginInstance(PlacementPluginConfig config) { + public PlacementPlugin createPluginInstance() { return new MinimizeCoresPlacementPlugin(); } + @Override + public void configure(NoConfig cfg) { Review comment: Maybe `configure()` in `ConfigurablePlugin<T extends MapWriter>` should have a default empty implementation so we don't have to repeat it (here, in `DelegatingPlacementPluginFactory` and `RandomPlacementFactory`). ---------------------------------------------------------------- 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