Fixing javadoc linter for Java 8