Skip to content

Conversation

@Anmol202005
Copy link
Collaborator

Fixes: #53
updated recipe to use 1 based index.

@Anmol202005
Copy link
Collaborator Author

Anmol202005 commented Jul 19, 2025

Issue for false-negative: #55


private long maxLong = 9223372036854775807l;
private long minLong = -9223372036854775808l;
private long minLong = -9223372036854775808l; //false negative
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this false negative comment, please clarify what you meant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these literals are not fixed by the recipe, due to improper column calculation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please confirm this will be fixed by #56

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it will do.

<checkstyle version="10.12.3">
<file name="org/checkstyle/autofix/recipe/upperell/stringandcomments/InputStringAndComments.java">
<error line="11" column="30" severity="error"
<error line="11" column="31" severity="error"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: We need to finish with integration test pipeline asap to get rid of these manual report files and fully rely on actual checkstyle execution and report

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, this is the way forward.

@rdiachenko rdiachenko self-assigned this Jul 19, 2025
Copy link
Member

@rdiachenko rdiachenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rdiachenko rdiachenko merged commit 6b118b8 into checkstyle:main Jul 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update UpperEll to use 1 based column index

2 participants