Given a String I need to get an Optional, whereby if the String is null or empty the result would be Optional.empty. I can do it this way:Given a String I need to get an Optional, where
Given a String I need to get an Optional, whereby if the String is null or empty the result would be Optional.empty. I can do it this way:Given a String I need to get an Optional, where