Is this example of use Optionals in java 8 correct? How would you rewrite it?

NoSuchKey

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=87033&siteId=1