Skip to content

Apache Lucene open-source search software

SOLR-12162: CorePropertiesLocator Exception message contains a typo when unable to create Solr Core

Erick Ericksone55b7e991116
diff --git a/solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java b/solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java
index 70acd84143a..3c8a40db224 100644
--- a/solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java
+++ b/solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java
@@ -66,7 +66,7 @@ public class CorePropertiesLocator implements CoresLocator {
if (Files.exists(propertiesFile))
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"Could not create a new core in " + cd.getInstanceDir()
- + "as another core is already defined there");
+ + " as another core is already defined there");
writePropertiesFile(cd, propertiesFile);
}
}