Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

107668: Revert upgrade of OpenCMIS to 0.13.0, which makes CMIS TCK fail. See ACE-4041 for follow-up


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-07-07 08:07:14 +00:00
parent d70ddcbe31
commit 3a9cab70bf

View File

@@ -296,7 +296,7 @@ public class OpenCmisLocalTest extends TestCase
ThresholdOutputStream tos = streamFactory.newOutputStream();
OutputStreamWriter writer = new OutputStreamWriter(tos);
writer.write(content);
ContentStreamImpl contentStream = new ContentStreamImpl(filename, BigInteger.valueOf(tos.getLength()), MimetypeMap.MIMETYPE_TEXT_PLAIN, tos.getInputStream());
ContentStreamImpl contentStream = new ContentStreamImpl(filename, BigInteger.valueOf(tos.getSize()), MimetypeMap.MIMETYPE_TEXT_PLAIN, tos.getInputStream());
return contentStream;
}