RFR: JDK-8232092 (fs) Files::isWritable returns false on a writeable root directory (win) [v6]

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 6 05:58:41 UTC 2020


On 05/10/2020 20:02, Nhat Nguyen wrote:
> :
> I'm sorry I'm a bit confused by this. Did you mean to say "should not return stream"? substList returns Stream<String>
> and not raw Stream. If the convention is try not to return Stream<> at all, I have converted the method to return
> List<> instead (I made substList return Stream in the first place because I wanted to call anyMatch() on the return
> result). Please let me know if this is what you expected. ��
>
My comment wasn't clear. I was pointing to the return type of substList. 
It was a Stream in the initial patch and I was just pointing out that it 
should be Stream<String>.

-Alan


More information about the nio-dev mailing list