fixing javadoc for java 8