rjy7 2010-07-26 19:13:56 +00:00
parent 37c2990bba
commit 6862104e24

View file

@ -360,11 +360,8 @@ 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(); for( String str : field.getAssertions()){
if (assertions != null) { copyOfN3.add(str);
for( String str : field.getAssertions()){
copyOfN3.add(str);
}
} }
out.put( fieldName, copyOfN3 ); out.put( fieldName, copyOfN3 );
} }
@ -377,11 +374,8 @@ 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(); for( String str : field.getRetractions()){
if (retractions != null) { copyOfN3.add(str);
for( String str : field.getRetractions()){
copyOfN3.add(str);
}
} }
out.put( fieldName, copyOfN3 ); out.put( fieldName, copyOfN3 );
} }