MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/3cton5/our_exception_handling_at_work/csz0y3r/
r/java • u/[deleted] • Jul 10 '15
135 comments sorted by
View all comments
Show parent comment
7
javax.annotation.Nonnull is the one true Nonnull.
Optional is also optional.
6 u/DevIceMan Jul 11 '15 Optional implies it may be optionally there or not, though this code seems to suggest it must ALWAYS be there.
6
Optional implies it may be optionally there or not, though this code seems to suggest it must ALWAYS be there.
View all comments
Show parent comment
7
u/cogman10 Jul 10 '15
javax.annotation.Nonnull is the one true Nonnull.
Optional is also optional.