javadocs. fixes for java8