create the variable after its static final fields have been assigned

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@777506 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2009-05-22 13:10:59 +00:00
parent d8e49bb012
commit 80ef83c7c9
1 changed files with 2 additions and 1 deletions

View File

@ -31,9 +31,10 @@ import org.apache.lucene.index.ConcurrentMergeScheduler;
*/
public class SolrIndexConfig {
public static final String defaultsName ="indexDefaults";
static final SolrIndexConfig defaultDefaults = new SolrIndexConfig();
public static final String DEFAULT_MERGE_POLICY_CLASSNAME = LogByteSizeMergePolicy.class.getName();
public static final String DEFAULT_MERGE_SCHEDULER_CLASSNAME = ConcurrentMergeScheduler.class.getName();
static final SolrIndexConfig defaultDefaults = new SolrIndexConfig();
private SolrIndexConfig() {
useCompoundFile = true;