fixed javadoc for java 8