M201370367/javaparser

Only the last of multiple lines with // comment is saved

Opened this issue · 1 comments

sample class:
public class FOO {
        // Line 1
        // Line 2
}       

cu.getComments() only contains '// Line 2'

Original issue reported on code.google.com by cornelis...@gmail.com on 9 Mar 2011 at 7:12

See my uploaded code in the "Keep comments in AST (and use them in 
DumpVisitor)" issue.

Original comment by shelbyy...@gmail.com on 21 Apr 2011 at 8:04