Share

Jalopy Java Source Code Formatter

Tracker: Bugs

5 Formatting a second time removes class JavaDoc elements - ID: 1368828
Last Update: Settings changed ( notzippy )

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!


Francis Labrie ( flabrie ) - 2005-11-29 04:39

5

Closed

None

S

None

1.5b5

Public


Comment ( 1 )

Date: 2005-12-05 14:46
Sender: notzippyAccepting Donations

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.



Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2005-12-19 20:45 notzippy
assigned_to nobody 2005-12-19 20:45 notzippy
close_date 2005-12-05 14:46 2005-12-19 20:45 notzippy
status_id Open 2005-12-05 14:46 notzippy
artifact_group_id None 2005-12-05 14:46 notzippy
close_date - 2005-12-05 14:46 notzippy