Menu

#457 Formatting a second time removes class JavaDoc elements

1.5b5
closed
S
None
5
2005-12-19
2005-11-29
No

I have a JavaDoc class header that produce this kind of result (I've
removed the email address to avoid the previously described bug):

/**
* The <code>Source.java</code> class allows...
*
* @author Francis Labrie
* @version $Revision$, $Date$
* <br>Copyright © 2005, Les Productions Smoguli, enr. All rights
reserved.
*/

If a such header doesn't exists, Jalopy generates it without problem.
But if it exists, it truncates all lines belows the first one:

/**
* La classe <code>SelectionParcoursParProjet.java</code> permet...
*/

So I loose all my author, revision, date, copyright, etc. references!

Discussion

  • S

    S - 2005-12-05
    • milestone: --> 1.5b5
    • status: open --> pending
     
  • S

    S - 2005-12-05

    Logged In: YES
    user_id=723231

    Loosing the @author and @version was a known problem and has
    been corrected. Loosing the last portion of the javadoc (The
    "<br>Copyright © 2005, Les Productions Smoguli, enr. All
    rights reserved.") Although not proper is easily
    correctable. Simply move that section before the @param
    tags. like

    /**
    * The <code>Source.java</code> class allows...
    * <br>Copyright © 2005, Les Productions Smoguli, enr. All
    rights reserved.
    *
    * @author Francis Labrie
    * @version $Revision$, $Date$
    */

    Should do the trick.

     
  • S

    S - 2005-12-19
    • assigned_to: nobody --> notzippy
    • status: pending --> closed
     

Log in to post a comment.