mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 03:23:13 +00:00
Add missing close() calls to use of TableRowIterator, also add close() to ItemIterator (to close underlying TableRowIterator)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3038 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1092,6 +1092,11 @@ public class Collection extends DSpaceObject
|
||||
log.error("caught exception: ", e);
|
||||
throw new IOException(e.getMessage());
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (items != null)
|
||||
items.close();
|
||||
}
|
||||
|
||||
// Delete bitstream logo
|
||||
setLogo(null);
|
||||
|
Reference in New Issue
Block a user