mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107650: Upgrade Chemistry OpenCMIS to 0.13.0 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -296,7 +296,7 @@ public class OpenCmisLocalTest extends TestCase
|
|||||||
ThresholdOutputStream tos = streamFactory.newOutputStream();
|
ThresholdOutputStream tos = streamFactory.newOutputStream();
|
||||||
OutputStreamWriter writer = new OutputStreamWriter(tos);
|
OutputStreamWriter writer = new OutputStreamWriter(tos);
|
||||||
writer.write(content);
|
writer.write(content);
|
||||||
ContentStreamImpl contentStream = new ContentStreamImpl(filename, BigInteger.valueOf(tos.getSize()), MimetypeMap.MIMETYPE_TEXT_PLAIN, tos.getInputStream());
|
ContentStreamImpl contentStream = new ContentStreamImpl(filename, BigInteger.valueOf(tos.getLength()), MimetypeMap.MIMETYPE_TEXT_PLAIN, tos.getInputStream());
|
||||||
return contentStream;
|
return contentStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user