So far the runtime problem is lesser of the two, because it's just a warning. But guava problem is what makes this unusable, code does not compile, I get compilation errors like
Copy code
error: cannot find symbol
return Optional.of(Iterables.getLast(entries));
^