-
Looking for something similar in the latest version. Can anyone recommend me something? Testing for this use case: ... main method ..
I want the build to fail |
Beta Was this translation helpful? Give feedback.
Answered by
rnveach
Jan 7, 2023
Replies: 1 comment 5 replies
-
I can not find anything on this Check , looks like it was dropped before checkstyle version 5. You can create issue to create such Check. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check was moved to https://github.com/checkstyle/contribution/blob/master/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/UnusedParameterCheck.java in 2015 (Checkstyle 6.4) and before that it was most likely disabled.
I will warn you it has not been maintained and I have no clue what state it is in so it is not likely to compile with current versions of Checkstyle as is. You can use it but you will probably be on your own including running it. I doubt anyone will take time for it even to bring it back if possible.