New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TranslationCheck reports duplicate lines in xml report #5103
Comments
@Nimfadora , it is not good to open issue with usage on SANPSHOT version, it is unclear how to reproduce. If you can not reproduce on release version you need to specify on which commit to build SNAPSHOT version. Here is my steps to reproduce and it looks like problem exists even before your changes in 8.2 release.
if that is true, please update description to use 8.2 release binaries and short name of path. |
Duplicate lines are due to multi-file validation. @romani We can check if violations are present before we send the file started event. |
We cannot limit excess file reporting in multi-file mode. Multi-file check can produce violation on any file it has already processed once during
This is because we call |
This is because we deal fully with |
Fix was merged |
taken from #5043
When checking several files with TranslationCheck and generating xml output, check reports duplicate lines with default translation file. Moreover, on different operation systems this line appears in different places.
steps to reproduce:
and
generate all-jar and run:
$ java -jar checkstyle-8.3-SNAPSHOT-all.jar -f xml -c /home/valeria/IdeaProjects/contribution/checkstyle-tester/my_check.xml /home/valeria/IdeaProjects/contribution/checkstyle-tester/props/
In report you will see duplicate line:
On windows and linux you will receive such report:
on Mac OS line will be in different place:
The text was updated successfully, but these errors were encountered: