What's the Deal with Optional.of() and Optional.ofNullable()?
I find it a bit confusing that using Optional.of() can actually lead to a NullPointerException, while I feel like we should just be able to handle null values…
I find it a bit confusing that using Optional.of() can actually lead to a NullPointerException, while I feel like we should just be able to handle null values…