RFR: JDK-8277095 : Empty streams create too many objects
Philippe Marschall
duke at openjdk.java.net
Mon Nov 15 18:26:38 UTC 2021
On Mon, 15 Nov 2021 18:08:22 GMT, Philippe Marschall <duke at openjdk.java.net> wrote:
> 3. I made many methods just return `this` after checking for operated on and closed:
Reading the Javadoc again I'm not sure this is allowed. The method Javadoc doesn't clearly say it but the package Javadoc for intermediate operations says a new stream is returned.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6275
More information about the core-libs-dev
mailing list