Project

General

Profile

« Previous | Next » 

Revision 50869

Using commons.lang3 and removed useless throws declaration

View differences:

modules/cnr-data-information-oai-publisher-common/trunk/src/main/java/eu/dnetlib/data/information/oai/publisher/core/AbstractOAICore.java
159 159
		return res;
160 160
	}
161 161

  
162
	public List<? extends SetInfo> listSets() throws OaiPublisherException {
162
	public List<? extends SetInfo> listSets() {
163 163
		return this.setCollection.getAllSets(true, getCurrentDBName());
164 164
	}
165 165

  
166
	public List<MDFInfo> listMetadataFormats() throws OaiPublisherException {
166
	public List<MDFInfo> listMetadataFormats() {
167 167
		return this.oaiConfigurationExistReader.getMetadataFormatInfo(true);
168 168
	}
169 169

  
modules/cnr-data-information-oai-publisher-common/trunk/src/main/java/eu/dnetlib/data/information/oai/publisher/OAIController.java
9 9
import eu.dnetlib.data.information.oai.publisher.core.AbstractOAICore;
10 10
import eu.dnetlib.data.information.oai.publisher.info.ListRecordsInfo;
11 11
import eu.dnetlib.data.information.oai.publisher.info.RecordInfo;
12
import org.apache.commons.lang.StringUtils;
12
import org.apache.commons.lang3.StringUtils;
13 13
import org.apache.commons.logging.Log;
14 14
import org.apache.commons.logging.LogFactory;
15 15
import org.springframework.beans.factory.annotation.Autowired;

Also available in: Unified diff