Fix javadoc for building with jdk8

I build redmine-java-api with openjdk8 and the javac/javadoc version is much more strict with regard to javadoc, than previous versions. The attached changes are only fixing the reported errors, to make it possible to compile with a recent JDK.