removed getThumbnailMimeType

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173646 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-10-18 09:36:22 +00:00
parent 2025826d89
commit bb678168b7
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ public final class WorkspaceStorageHubClientService implements Workspace{
if(thumbBytes==null || thumbBytes.length==0)
throw new Exception("Thumbnail Data is not available for image with id: "+itemId);
return new org.gcube.common.storagehubwrapper.shared.tohl.impl.StreamDescriptor(new ByteArrayInputStream(thumbBytes), null, new Long(thumbBytes.length),imgContent.getThumbnailMimeType());
return new org.gcube.common.storagehubwrapper.shared.tohl.impl.StreamDescriptor(new ByteArrayInputStream(thumbBytes), null, new Long(thumbBytes.length),imgContent.getMimeType());
}catch(Exception e){
logger.error("Error on getThumbnailData for: "+itemId, e);