8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>

Remi Forax forax at univ-mlv.fr
Thu Jan 22 15:08:48 UTC 2015


On 01/22/2015 03:53 PM, Paul Sandoz wrote:

[...]

> Yes, it's very tempting to make the source conform to one's own "cultural of code format" (and it's all to easy to hit the reformat hot key in the IDE) [*].

[...]

>
>
>> I think what you have done is acceptable from that viewpoint, since the changes can be separated "by eye" easily enough.
>>
>> You can count me as a Reviewer for this.
>>
> Thanks. I updated the webrev to add "@since 1.9" to the docs.

[...]

>
> Paul.
>
> [*] I would be quite happy with a Java endorsed "culture of code format" and just configure the IDE to format to that (one less thing to think about).  I am rather skeptical that any consensus driven approach can produce such a format before the heat death of the universe. Someone with trusted taste and leadership needs to make a proposal,

I vote for you :)

> one is allowed to comment during a period of time, but one is not allowed to comment on other people's comments :-)

cheers,
Rémi




More information about the core-libs-dev mailing list