mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Moved unchache
This commit is contained in:
@@ -117,11 +117,11 @@ public class IIIFCanvasDimensionServiceImpl implements IIIFCanvasDimensionServic
|
||||
boolean isIIIFItem = IIIFSharedUtils.isIIIFItem(item);
|
||||
if (isIIIFItem) {
|
||||
if (processItemBundles(context, item)) {
|
||||
context.uncacheEntity(item);
|
||||
++processed;
|
||||
}
|
||||
}
|
||||
}
|
||||
context.uncacheEntity(item);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,6 +138,7 @@ public class IIIFCanvasDimensionServiceImpl implements IIIFCanvasDimensionServic
|
||||
List<Bitstream> bitstreams = bundle.getBitstreams();
|
||||
for (Bitstream bit : bitstreams) {
|
||||
done |= processBitstream(context, bit);
|
||||
context.uncacheEntity(bit);
|
||||
}
|
||||
}
|
||||
if (done) {
|
||||
@@ -199,7 +200,6 @@ public class IIIFCanvasDimensionServiceImpl implements IIIFCanvasDimensionServic
|
||||
}
|
||||
}
|
||||
}
|
||||
context.uncacheEntity(bitstream);
|
||||
return processed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user