Merge pull request #8950 from saschaszott/patch-13

code cleanup: remove obsolete code fragments in ItemIndexFactoryImpl
This commit is contained in:
Tim Donohue
2023-07-27 11:49:29 -05:00
committed by GitHub

View File

@@ -172,13 +172,6 @@ public class ItemIndexFactoryImpl extends DSpaceObjectIndexFactoryImpl<Indexable
addNamedResourceTypeIndex(doc, acvalue);
}
// write the index and close the inputstreamreaders
try {
log.info("Wrote Item: " + item.getID() + " to Index");
} catch (RuntimeException e) {
log.error("Error while writing item to discovery index: " + item.getID() + " message:"
+ e.getMessage(), e);
}
return doc;
}