Apache Solr open-source search software
tidying #4554 (#4662)
Mikhail Khludnev86bd5203ae91
diff --git a/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java b/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.javaindex cef0e1fcbe4..b7f582d01f7 100644--- a/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java+++ b/solr/core/src/java/org/apache/solr/cluster/placement/impl/PlacementPluginFactoryLoader.java@@ -114,11 +114,12 @@ public class PlacementPluginFactoryLoader {case "affinity" -> new AffinityPlacementFactory();case "minimizecores" -> new MinimizeCoresPlacementFactory();case "random" -> new RandomPlacementFactory();- default -> throw new SolrException(- SolrException.ErrorCode.SERVER_ERROR,- "Invalid value for system property '"- + PLACEMENTPLUGIN_DEFAULT_SYSPROP- + "'. Supported values are 'simple', 'random', 'affinity' and 'minimizecores'");+ default ->+ throw new SolrException(+ SolrException.ErrorCode.SERVER_ERROR,+ "Invalid value for system property '"+ + PLACEMENTPLUGIN_DEFAULT_SYSPROP+ + "'. Supported values are 'simple', 'random', 'affinity' and 'minimizecores'");};} else {// TODO: Consider making the ootb default AffinityPlacementFactory, see