Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 Lost class comment - ID: 602169
Last Update: Settings changed ( marcohu )

Here is a simple test class to demonstrate the problem:

/**
* A valid, handwritten class comment
*/
// @see thie comment will cause Jalopy to replace the
one above
public class JalopyTest{

}

When Jalopy is run with comment generation turned on,
the comments will be replaced, resulting in this:

/**
* DOCUMENT ME!
*
* @version $Revision: 1.1 $
* @author $author$
*/
public class JalopyTest {
}

It's the line beginning with "// @see" that causes the
problem. Remove that & the handwritten comment will be
left alone.

I found this after running Jalopy on an EJB that had
XDoclet tags in it. I wanted to temporarily remove an
XDoclet tag so I moved it into a // comment. XDoclet &
javadoc both correctly ignored it after that.

-Steve


Steve Corwin ( steveco2 ) - 2002-08-30 00:37

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comments ( 2 )

Date: 2002-11-01 13:36
Sender: yankerAccepting Donations

Logged In: YES
user_id=495393

Please note, that a JavaDoc comment must immediately precede
the class that it describes. Blank lines (and // comments)
between the class declaration and the JavaDoc comment are
not allowed. This also applies to methods and variables of
course.¨

Odi


Date: 2002-09-03 18:41
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

Fix will appear with the next release (Working CVS repository
should be online in a week or so).

Thanks.


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2002-11-13 00:02 marcohu
close_date - 2002-11-13 00:02 marcohu
resolution_id None 2002-09-03 18:41 marcohu
priority 5 2002-09-03 18:41 marcohu
assigned_to nobody 2002-09-03 18:41 marcohu