maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MJAVADOC-420) javadoc:fix duplicates lines
Date Tue, 25 Jul 2017 19:40:01 GMT

     [ https://issues.apache.org/jira/browse/MJAVADOC-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte updated MJAVADOC-420:
------------------------------------
    Description: 
On the following example, if you starts several times the javadoc:fix goal, the line "@param
paramSecond" is duplicated several times.
{code}
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 ) {
		
	}
}
{code}
After investigation, i have found that when a parameter name is included in another parameter
name, the bug occurs.

Best regards
Laurent


  was:
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



> javadoc:fix duplicates lines
> ----------------------------
>
>                 Key: MJAVADOC-420
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-420
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>         Environment: MacOS
>            Reporter: Michenaud Laurent
>         Attachments: fixjavadocbugs.zip
>
>
> On the following example, if you starts several times the javadoc:fix goal, the line
"@param paramSecond" is duplicated several times.
> {code}
> 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 ) {
> 		
> 	}
> }
> {code}
> After investigation, i have found that when a parameter name is included in another parameter
name, the bug occurs.
> Best regards
> Laurent



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message