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