Project

General

Profile

« Previous | Next » 

Revision 7659

Added by Jing Tao over 11 years ago

Fixed a bug the collection name was not set.

View differences:

metacat-common/src/main/java/edu/ucsb/nceas/metacat/common/SolrServerFactory.java
108 108
	
109 109
	public static String getCollectionName() {
110 110
	    if(collectionName == null) {
111
	        Settings.getConfiguration().getString(SOLR_COLLECTION_NAME_PROPERTY_NAME);
111
	        collectionName = Settings.getConfiguration().getString(SOLR_COLLECTION_NAME_PROPERTY_NAME);
112 112
	    }
113 113
	    return collectionName;
114 114
	}

Also available in: Unified diff