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