Hi Pavel, >> 2) I would extract the buffer size to a constant as in the NIO Files class >
I may expressed myself not clear in my comment. I just wanted to point out, if the buffer size may should be extracted to a private static constant. The java.nio.file.Files class was meant to be an example. > Patrick, we've discussed it already. Correct me if I wrong, but we came to the > conclusion that there’s not enough evidence to support the need for this > method. What method besides „transferTo“ do you mean? Sorry, seem you lost me there… > -Pavel > -Patrick