Bug 43754 - How to position this comment?
Summary: How to position this comment?
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-26 11:54 EDT by Olivier Thomann CLA
Modified: 2003-11-20 05:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2003-09-26 11:54:17 EDT
if (a || b)
//comment
{
...
}

With this code, do we want to preserve the comment on this line? or do:
if (a || b) //comment
{
...
}

If the comment is related to the block, then I think it should be moved inside
the comment
Comment 1 Olivier Thomann CLA 2003-10-15 09:18:16 EDT
Fixed and released in HEAD.
The comment is left where it was.
Comment 2 David Audel CLA 2003-11-20 05:41:39 EST
Verified.