updated javadoc to work under java 8