You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will not be changed (at least for now). Reason: the contract for get is different in a binding and for an optional. Optional.get will throw an exception if the optional was empty. We cannot do the same for OptionalBinding.get since this is used when binding properties. For this reason, OptionalBinding is a Binding of type Optional<T>, which results in get return an Optional<T>. Similarly, the set method then expects an Optional<T>.
setValue
should acceptT
notOptional<T>
.The text was updated successfully, but these errors were encountered: