RFR: 8274771: Map, FlatMap and OrElse fluent bindings for ObservableValue [v10]

Nir Lisker nlisker at openjdk.java.net
Fri Mar 18 13:57:45 UTC 2022


On Fri, 18 Mar 2022 09:48:39 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> modules/javafx.base/src/main/java/com/sun/javafx/binding/Subscription.java line 67:
>> 
>>> 65:      */
>>> 66:     default Subscription and(Subscription other) {
>>> 67:         Objects.requireNonNull(other);
>> 
>> This exception could be documented with `@throws NullPointerException if {@code other} is null`
>
> I've updated the docs a bit -- it hasn't received much attention because this is not going to be API for now

Yes, in "phase 2" when this class is made public there will be a proper docs review.

-------------

PR: https://git.openjdk.java.net/jfx/pull/675


More information about the openjfx-dev mailing list