VIVO-873 Simplify and document the DocumentModifier interface.

allUris parameter on modifyDocument() was not documented and not used.
There is no logical reason for modifyDocument to throw a SkipIndividualException.
This commit is contained in:
j2blake 2014-10-16 12:31:42 -04:00
parent 087fafcd7a
commit a35e3fb4f5
3 changed files with 4 additions and 5 deletions

View file

@ -61,7 +61,7 @@ public class VivoInformationResourceContextNodeFieldsTest extends AbstractTestCl
doc.addField("ALLTEXT", "");
VivoInformationResourceContextNodeFields vircnf = new VivoInformationResourceContextNodeFields(rdfServiceFactory);
vircnf.modifyDocument(ind, doc, new StringBuffer());
vircnf.modifyDocument(ind, doc);
Collection<Object> values = doc.getField("ALLTEXT").getValues();
for( Object value : values){
@ -69,7 +69,7 @@ public class VivoInformationResourceContextNodeFieldsTest extends AbstractTestCl
}
VivoAgentContextNodeFields vacnf = new VivoAgentContextNodeFields(rdfServiceFactory);
vacnf.modifyDocument(ind, doc, new StringBuffer());
vacnf.modifyDocument(ind, doc);
}