matozoid/javaparser — pull request #29 by SmiddyPence (2014-01-14 13:52:08+00:00)
Title: Add begin line number to Comment equality check

EqualsVisitor only checks Comment equality on value of the content. Subsequently when inserting comments into the AST, if the same comment exists in different nodes the later comments are discarded.

Have modified to consider beginLine() as well.

Test attached.