Project

General

Profile

« Previous | Next » 

Revision 46345

refactoring: let's reuse class MetadataReference

View differences:

OAIHelper.java
102 102
	}
103 103

  
104 104
	private MongoPublisherStore getStore(final MDFInfo mdFormat, final String dbName) {
105
		String format = mdFormat.getSourceFormatName();
106
		String layout = mdFormat.getSourceFormatLayout();
107
		String interpretation = mdFormat.getSourceFormatInterpretation();
105
		String format = mdFormat.getSourceFormat();
106
		String layout = mdFormat.getSourceLayout();
107
		String interpretation = mdFormat.getSourceInterpretation();
108 108
		String sourceKey = format + "-" + layout + "-" + interpretation;
109 109
		MongoPublisherStore store = this.mongoPublisherStoreDAO.getStore(format, interpretation, layout, dbName);
110 110
		log.info("Got OAI store " + sourceKey + " via metadata prefix " + mdFormat.getPrefix() + " on db " + dbName);

Also available in: Unified diff