RFR 8080418 Add Optional.or()
Paul Sandoz
paul.sandoz at oracle.com
Tue Sep 29 13:55:57 UTC 2015
> On 29 Sep 2015, at 11:16, Stefan Zobel <spliterator at gmail.com> wrote:
>
> Looks good. One more nitpicking. "ifPresent() " in OptionalDouble/Int/Long
> still uses the old wording
>
>
> * If a value is present, perform the given action with the value,
> * otherwise do nothing.
>
>
> whereas in Optional you have the better
>
>
> * If a value is present, performS the given action with the value,
> * otherwise doES nothing.
>
Thanks, updated,
Paul.
More information about the core-libs-dev
mailing list