yegor256 / qulice

Quality Police for Java projects: aggregator of Checkstyle and PMD
https://www.qulice.com
Other
301 stars 112 forks source link

Improve single-line block comment check #1170

Closed MikailBag closed 1 year ago

MikailBag commented 1 year ago

Previously it was implemented using a regex. However this approach is inherently not accurate, leading to problems like iss. 1079.

This patch converts to it AST-based check pass which should have no false-positives.

yegor256 commented 1 year ago

@rultor merge

rultor commented 1 year ago

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 1 year ago

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 6min)