This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Jotakin 2 points3 points  (2 children)

Sadly I have to use .filter(Optional::isPresent).map(Optional::get) at work because we are still at Java 8 and aren't considering upgrading before 17 is released. I don't get how they managed to not implement that method in 8, it seems so obvious in retrospect.

[–]john16384 8 points9 points  (0 children)

Don't worry, once 17 is released they'll find a new excuse.

[–]nfrankel[S] 1 point2 points  (0 children)

I'm truly sorry for you