Open
Description
What is the smallest, simplest way to reproduce the problem?
Enable datatables on a small project, open RecipeRunStats.csv and sort by first column (edited source files).
What did you see instead?
That's from a project with 2600 files in the repo (Java, Maven, adoc, ....), therefore I would expect none of the numbers to be larger than 2600.
If you agree to that assumption, then
It might need to be moved inside the
if visitor.isAcceptable()
condition.
This bug does not create any wrong code with rewrite recipes. It just makes it harder to use the numbers in the data tables to look for "extreme" recipes or similar oddities.
Are you interested in contributing a fix to OpenRewrite?
Metadata
Assignees
Labels
Type
Projects
Status
No status
Activity