From 7d716f11075f0868535c108b21256a3b91b4a154 Mon Sep 17 00:00:00 2001 From: noble Date: Mon, 22 Jul 2019 03:31:39 +1000 Subject: [PATCH] SOLR-13565: Precommit errors --- solr/core/src/java/org/apache/solr/core/LibListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/core/LibListener.java b/solr/core/src/java/org/apache/solr/core/LibListener.java index 32552e0917b..cc3f4eb1777 100644 --- a/solr/core/src/java/org/apache/solr/core/LibListener.java +++ b/solr/core/src/java/org/apache/solr/core/LibListener.java @@ -79,7 +79,7 @@ public class LibListener implements ClusterPropertiesListener { try { return klas.getConstructor(CoreContainer.class).newInstance(coreContainer); } catch (NoSuchMethodException ex) { - return klas.getConstructor(null).newInstance(); + return klas.getConstructor().newInstance(); } } catch (Exception ex) { if (!memClassLoader.getErrors().isEmpty()) {