You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Sand (JIRA)" <ji...@apache.org> on 2016/05/19 04:02:13 UTC
[jira] [Commented] (MJAVADOC-420) javadoc:fix duplicates lines
[ https://issues.apache.org/jira/browse/MJAVADOC-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290436#comment-15290436 ]
Richard Sand commented on MJAVADOC-420:
---------------------------------------
FYI I provided a patch for this issue attached to MJAVADOC-452
> 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.
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)