Skip to content
Snippets Groups Projects
Commit 2e92e3d8 authored by mbrodhu's avatar mbrodhu
Browse files

use OAIPMHUtilites.fieldLoader instead of DublinCore.fillList. Set DublinCore.fill to depreacted

parent 05eadb1e
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ public class DublinCoreFieldLoader {
return dates;
}
@Deprecated
public static List<String> fillList(GetResponse responseWorkValues, String[] fields) {
List<String> list = new ArrayList<String>();
......
......@@ -281,7 +281,8 @@ public class RecordDelivererDC extends RecordDelivererAbstract {
DublinCoreFieldLoader.fillList(responseWorkValues, this.descriptionList));
result.setFormat(DublinCoreFieldLoader.fillList(responseWorkValues, this.formatList));
result.setIdentifier(
DublinCoreFieldLoader.fillList(responseWorkValues, this.identifierList));
OAIPMHUtilities.fieldLoader(new JSONObject(responseWorkValues.getSourceAsMap()), this.identifierList));
result.setLanguage(DublinCoreFieldLoader.fillList(responseWorkValues, this.languageList));
result.setPublisher(DublinCoreFieldLoader.fillList(responseWorkValues, this.publisherList));
result.setRelation(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment