Fixes JavaDoc errors for more strict Java 8 compiler.
Updates dependency versions
Use more efficient overloaded indexOf().