javadoc updated for java 8