Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify rule S1948: clarify that only non-static fields are serialized. #4556

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

tomasz-tylenda-sonarsource
Copy link
Contributor

https://sonarsource.atlassian.net/browse/SONARJAVA-5238

Existing documentation never mentions that serialization does not apply to static fields. We recently had a community post about fixing serialization issue by making a field static.

Copy link

sonarqube-next bot commented Dec 5, 2024

Quality Gate passed Quality Gate passed for 'rspec-tools'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link

sonarqube-next bot commented Dec 5, 2024

Quality Gate passed Quality Gate passed for 'rspec-frontend'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@alban-auzeill alban-auzeill merged commit 8ab7b69 into master Dec 5, 2024
11 of 13 checks passed
@alban-auzeill alban-auzeill deleted the rule/S1948-modify-clarify-non-static branch December 5, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants