mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
64097: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3.0.BF) 63991: Merged DEV to V4.2-BUG-FIX (4.2.2) 63740: ALF-20389: CMIS webservice gives cast problem - Now, only ContentStreamImpl extensions will be checked for mimetype. Also, unit test was added. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -54,7 +54,7 @@ public class AlfrescoCmisStreamInterceptor implements MethodInterceptor
|
||||
Object[] arguments = mi.getArguments();
|
||||
for (int i = 0; i < parameterTypes.length; i++)
|
||||
{
|
||||
if (parameterTypes[i].isAssignableFrom(ContentStreamImpl.class))
|
||||
if (arguments[i] instanceof ContentStreamImpl)
|
||||
{
|
||||
ContentStreamImpl contentStream = (ContentStreamImpl) arguments[i];
|
||||
if (contentStream != null)
|
||||
|
Reference in New Issue
Block a user