lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject lucene-solr:master: SOLR-12162: CorePropertiesLocator Exception message contains a typo when unable to create Solr Core
Date Fri, 30 Mar 2018 01:01:47 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master b5a367857 -> e55b7e991


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


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e55b7e99
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e55b7e99
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e55b7e99

Branch: refs/heads/master
Commit: e55b7e9911165fdf99682990c743e9bcd6cbd4f9
Parents: b5a3678
Author: Erick Erickson <erick@apache.org>
Authored: Thu Mar 29 18:01:38 2018 -0700
Committer: Erick Erickson <erick@apache.org>
Committed: Thu Mar 29 18:01:38 2018 -0700

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e55b7e99/solr/core/src/java/org/apache/solr/core/CorePropertiesLocator.java
----------------------------------------------------------------------
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 70acd84..3c8a40d 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);
     }
   }


Mime
View raw message