Closed PhilippWendler closed 2 years ago
The check was broken when we added the new COMPILATION_UNIT in 9.0 . We do have a PR to update the checks, https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/858 , but it has not been merged yet since sevntu still relies on an outdated checkstyle version.
Until it is fixed, I recommend to stick with the version sevntu uses, which is 8.44. https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/master/sevntu-checks/pom.xml#L19
Thanks for the explanation! No hurry.
Works now with release 1.41.0.
no output
This class is not an inner class, thus the warning is wrong. When combining sevntu-checkstyle 1.40.0 with Checkstyle 9.1, this warning is produced for all serializable classes. With Checkstyle 8.45.1 it works as expected.