optimaize/language-detector

Use java.util.Optional?

Opened this issue · 2 comments

https://google.github.io/guava/releases/19.0/api/docs/com/google/common/base/Optional.html

There are no plans to deprecate this class in the foreseeable future. However, we do gently recommend that you prefer the new, standard Java class whenever possible.

Well, that may impose problems for older java versions.

+1 to use the standard Java 8 classes