Share

Jalopy Java Source Code Formatter

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Tracker: Bugs

1 Another case of lost comments - ID: 601393
Last Update: Settings changed ( marcohu )

I had a comment that looked like the following:

if (/* foo instanceof Bar */
foo.class.getName().equals("com.mycompany.Bar")) {
// do something
}

After formatting, the comment inside the "if" was gone:

if (foo.class.getName().equals("com.mycompany.Bar")) {
// do something
}

Not sure where you would put such a comment after
formatting (if you had to move it), but surely it
shouldn't just disappear without a warning? Maybe
insert the comment before the "if" statement? Ideally,
of course, it should just leave it where it is, if
that's possible..


Shankar Unni ( shankarunni ) - 2002-08-28 16:15

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comment ( 1 )

Date: 2002-08-29 14:32
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

It should be printed right after the left parenthesis as in the
original output. At I'm quite confident that it will with the next
beta.

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-15 21:56 marcohu
priority 5 2002-09-03 18:39 marcohu
assigned_to nobody 2002-08-29 14:32 marcohu