}
GraphNode infoBitNode = new GraphNode(infoBitUri, cgProvider.getContentGraph());
UriRef thumbnailUri = getGeneratedThumbnailUri(infoBitNode, width, height, exact);
if (thumbnailUri == null) {
Literal mediaTypeLiteral = null;
Lock readLock = infoBitNode.readLock();
readLock.lock();
try {
Iterator<Resource> mediaTypes = infoBitNode.getObjects(DISCOBITS.mediaType);
if (mediaTypes.hasNext()) {
mediaTypeLiteral = (Literal) mediaTypes.next();