This commit is contained in:
parent
d277692365
commit
37c2990bba
1 changed files with 10 additions and 4 deletions
|
@ -360,8 +360,11 @@ are well formed.
|
|||
Field field = fields.get(fieldName);
|
||||
|
||||
List<String> copyOfN3 = new ArrayList<String>();
|
||||
for( String str : field.getAssertions()){
|
||||
copyOfN3.add(str);
|
||||
List<String> assertions = field.getAssertions();
|
||||
if (assertions != null) {
|
||||
for( String str : field.getAssertions()){
|
||||
copyOfN3.add(str);
|
||||
}
|
||||
}
|
||||
out.put( fieldName, copyOfN3 );
|
||||
}
|
||||
|
@ -374,8 +377,11 @@ are well formed.
|
|||
Field field = fields.get(fieldName);
|
||||
|
||||
List<String> copyOfN3 = new ArrayList<String>();
|
||||
for( String str : field.getRetractions()){
|
||||
copyOfN3.add(str);
|
||||
List<String> retractions = field.getRetractions();
|
||||
if (retractions != null) {
|
||||
for( String str : field.getRetractions()){
|
||||
copyOfN3.add(str);
|
||||
}
|
||||
}
|
||||
out.put( fieldName, copyOfN3 );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue