Skip to content
Snippets Groups Projects
Commit 95518cb5 authored by mbrodhu's avatar mbrodhu
Browse files

ListIdentifier Logs

parent ef1b7995
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ public class DublinCoreFieldLoader {
String[] values) {
for (String field : values) {
if (responseWorkValues.isExists() && responseWorkValues.getField(field) != null) {
if (responseWorkValues.getField(field) != null) {
creators.add(responseWorkValues.getField(field).getValue()
.toString());
}
......@@ -89,15 +89,16 @@ public class DublinCoreFieldLoader {
// ----DC-Coverage
public static List<String> setCoverage(GetResponse responseWorkValues, String[] values) {
if(responseWorkValues.isExists()){
for (String field : values) {
System.out.println("fieldname: " + field);
System.out.println(responseWorkValues.isExists());
if (responseWorkValues.getField(field) != null) {
coverages.add(responseWorkValues.getField(field).getValue().toString());
}
}
}
return coverages;
}
......
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