Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329672 - Java Generation : misplaced comments location at the end of a block
Summary: Java Generation : misplaced comments location at the end of a block
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 0.9.0 M3   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 08:53 EST by Fabien Giquel CLA
Modified: 2011-01-11 05:18 EST (History)
2 users (show)

See Also:
fabien.giquel: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Giquel CLA 2010-11-08 08:53:47 EST
Discovering this part of code, and generating java code from java model, leads up to to a misplaced comment : comment is generated at the begining of the block instead of the end.

    public static void main(String[] args) {
        int i = 1;

        /* a comment */
        }
Comment 1 Fabien Giquel CLA 2010-11-08 13:53:29 EST
A fix has been commited into SVN (revision 3586) and associated JUnit test.
Comment 2 Hugo Bruneliere CLA 2011-01-11 05:18:03 EST
Bug fixed.