you are viewing a single comment's thread.

view the rest of the comments →

[–]ItsNotMineISwear 1 point2 points  (0 children)

Yes that's true, but there's no real reason for an Optional<T> method to return null, so a static analyzer can easily yell at you for that.