chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (Resolved) (JIRA) <>
Subject [jira] [Resolved] (CMIS-444) The InputStream returned by "ContentStream.getStream()" is read ONE byte at a time!
Date Mon, 10 Oct 2011 10:42:29 GMT


Florian Müller resolved CMIS-444.

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.6.0
         Assignee: Florian Müller

Buffers nows - but only if it is necessary. The application should provide a sensible BufferedInputStream.
> The InputStream returned by "ContentStream.getStream()" is read ONE byte at a time!
> -----------------------------------------------------------------------------------
>                 Key: CMIS-444
>                 URL:
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.5.0
>         Environment: java version "1.6.0_27", Linux Fedora 15, latest version of openCMIS
>            Reporter: Ioan LUPU
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.6.0
>         Attachments:
> - The InputStream ""
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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message