mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Merge pull request #8950 from saschaszott/patch-13
code cleanup: remove obsolete code fragments in ItemIndexFactoryImpl
This commit is contained in:
@@ -172,13 +172,6 @@ public class ItemIndexFactoryImpl extends DSpaceObjectIndexFactoryImpl<Indexable
|
|||||||
addNamedResourceTypeIndex(doc, acvalue);
|
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;
|
return doc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user