Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.5.0
-
None
-
java version "1.6.0_27", Linux Fedora 15, latest version of openCMIS (0.5.0)
Description
- The InputStream "org.apache.chemistry.opencmis.commons.data.ContentStream.getStream()" is read one byte at a time. The other read(byte[], ...) methods are not called.
- This affects the performance of the client when uploading files to the DMS server (by the help of openCMIS) if the code that provides the InputStream doesn't uses a buffer! The code can be improved to use the methods that read more than one byte a time or the documentation should be improved in order to inform the developer of this way of reading the InputStream