We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional::orElseThrow
get
Java 10 recommends orElseThrow instead of get:
orElseThrow
https://docs.oracle.com/javase/10/docs/api/java/util/Optional.html#get()
Some background:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-April/040531.html
The text was updated successfully, but these errors were encountered:
Recommend Optional::orElseThrow instead of get
8f47f59
Also shuffle Optional imports to java.util.Optional. Fixes #147.
3104c17
b89e0ea
Successfully merging a pull request may close this issue.
Java 10 recommends
orElseThrow
instead ofget
:https://docs.oracle.com/javase/10/docs/api/java/util/Optional.html#get()
Some background:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-April/040531.html
The text was updated successfully, but these errors were encountered: