Re-enable inspections that were temporarily suppressed for Qodana
We recently migrated to Qodana for code inspections. During the migration, some inspections were temporarily suppressed to allow the transition to complete without blocking development.
These suppressions are still in place, and the underlying code violations need to be resolved and suppressions should be removed.
https://github.com/checkstyle/checkstyle/blob/master/config/intellij-idea-inspections.xml , search "18926"
Inspections to Re-enable
- [x] ClassCanBeRecord
- [ ] ClassEscapesItsScope
- [ ] EmptyClass
- [x] EqualsWithItself
- [ ] ExtractMethodRecommender
- [ ] FieldMayBeStatic
- [ ] Java9ReflectionClassVisibility
- [x] MappingBeforeCount
- [x] RedundantSuppression
- [ ] SystemGetProperty
- [x] UnnecessarilyQualifiedStaticUsage
- [x] PropertiesAsHashtable
- [x] WhileCanBeDoWhile
Target 1 inspection per pr.
Hi! I would like to work on re-enabling the FieldMayBeStatic inspection. Please assign this to me.
@Vikash-Kumar-23 issue is not approved yet please work on approved issues. In checkstyle there is no assignment of issues just comment I am on it and start working on it if no one else is already working on it
Issue will be approved after https://github.com/checkstyle/checkstyle/pull/18917 is merged
@romani please approve this issue
Approved
I am on it. I'll be working on re-enabling the ClassCanBeRecord inspection.
i am on EqualsWithItself
i am on RedundantSuppression
I am on UnnecessarilyQualifiedStaticUsage
i am on PropertiesAsHashtable
I am working on re-enabling the ClassEscapesItsScope inspection. Draft PR: https://github.com/checkstyle/checkstyle/pull/19103
Working on Java9ReflectionClassVisibility - PR #19105
All changes are merged, thanks a lot to all participants!!!