[ 
https://issues.apache.org/jira/browse/OAK-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829237#comment-13829237
 ] 

Tobias Bocanegra commented on OAK-956:
--------------------------------------

I agree with the "oak team" here, that InputStream.available() returning 0 does 
not imply that the stream is EOF, nor that BufferedInputStream.read() will fill 
the buffer guaranteed. If so, we wouldn't need utility methods, like 
readFully().

> SegmentStream doesn't implement the method available()
> ------------------------------------------------------
>
>                 Key: OAK-956
>                 URL: https://issues.apache.org/jira/browse/OAK-956
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Antonio Sanso
>
>  org.apache.jackrabbit.oak.plugins.segment.SegmentStream doesn't implement 
> the method available()
> {code}
> Value.getStream().available()
> {code}
> will always return 0



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to