SOLR-3489: Config file replication less error prone

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jan Høydahl 2012-05-29 08:39:39 +00:00
parent ef64958caa
commit ef0b065bc2
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
List<String> files = Arrays.asList(includeConfFiles.split(","));
for (String file : files) {
if (file.trim().length() == 0) continue;
String[] strs = file.split(":");
String[] strs = file.trim().split(":");
// if there is an alias add it or it is null
confFileNameAlias.add(strs[0], strs.length > 1 ? strs[1] : null);
}