fixed javadoc to be complient with Java 8