Hi Mark!

> Fixed.

> Mark

What about the inconsistency between getContent() and doGetInputStream() ?
In case of doGetInputStream() when a FileNotFoundException is thrown, the
caller will get a "null" stream. But in case of getContent() the caller
will get a byte[] full of zeroes, which will result in ByteArrayInputStream
that returns incorrect content. Also if an IOEx is thrown during read, the
caller may get corrupted content -> one part filled with zeroes.

Best regards,


Reply via email to