Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-420

javadoc:fix duplicates lines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 3.1.0
    • fix
    • None
    • MacOS

    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

      Attachments

        1. fixjavadocbugs.zip
          4 kB
          Michenaud Laurent

        Activity

          People

            rfscholte Robert Scholte
            michenux Michenaud Laurent
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: