I also noticed this when running UT with IDEA.may we can merge this PR: 
 https://github.com/apache/zookeeper/pull/988
Or this one: https://github.com/apache/zookeeper/pull/983 to remove that 
warning.

发送自 Windows 10 版邮件应用

发件人: Andor Molnar
发送时间: 2019年6月20日 5:46
收件人: DevZooKeeper
主题: Intellij Idea warning as error with -Xdoclint


Hi Enrico,

I have the following error message in Idea since -Xdoclint is enabled in the 
main pom.xml file:

/Users/andormolnar/git/my-zookeeper/zookeeper-jute/src/main/java/org/apache/jute/Utils.java
Error:(194, 15) java: @param name not found
Error:(231, 15) java: @param name not found

Strange that I don’t see the same warnings in console when running ‘mvn 
install’.
I confirm that removing “-Xdoclint” (or fixing javadoc issues) solves the 
problem.

Andor




Reply via email to