RFR 8020016 Numerous splitereator impls do not throw NPE for null Consumers

Henry Jen henry.jen at oracle.com
Thu Aug 1 15:45:50 UTC 2013

In StremSpliterator:366, I assume the NULL check should be before if.

There are a couple

if {
else if


try {

Isn't the style recommended to be on the same line?


On Aug 1, 2013, at 8:32 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:

> Hi,
> This patch fixes numerous spliterators that do not throw NPEs for null consumers:
>  http://cr.openjdk.java.net/~psandoz/tl/JDK-8020016-spltr-traverse-npe/webrev/
> Paul.

More information about the core-libs-dev mailing list