Description
On the following example, if you starts several times the javadoc:fix goal, the line "@param paramSecond" is duplicated several times.
package com.example; /** * <p>FirstBug class.</p> */ public class FirstBug { /** * <p>mymethod.</p> * * @param param a {@link java.lang.String} object. * @param paramSecond a {@link java.lang.String} object. */ public void mymethod( String param, String paramSecond ) { } }
After investigation, i have found that when a parameter name is included in another parameter name, the bug occurs.
Best regards
Laurent