While Optional.ofNullable() is a better alternative to Optional.of(), it introduces the possibility of hiding potential issues caused by null. Developers might become overly reliant on this method, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results