Skip to content

Remove compiler warnings in spring-security-data#18580

Merged
rwinch merged 2 commits intospring-projects:mainfrom
pocj8ur4in:gh-18422
Feb 2, 2026
Merged

Remove compiler warnings in spring-security-data#18580
rwinch merged 2 commits intospring-projects:mainfrom
pocj8ur4in:gh-18422

Conversation

@pocj8ur4in
Copy link
Contributor

@pocj8ur4in pocj8ur4in commented Jan 25, 2026

Summary

  • Add compile-warnings-error plugin to data module
  • Remove deprecated setDefaultRolePrefix() call in getRootObject()
  • Add @SuppressWarnings deprecation for tests using deprecated methods
  • Add tests using AuthorizationManagerFactory

Test

  • ./gradlew --no-build-cache clean :spring-security-data:check
  • ./gradlew format

Closes gh-18422

- Add
  compile-warnings-error plugin to data module
- Remove
  deprecated setDefaultRolePrefix() call in getRootObject()
- Add
  @SuppressWarnings deprecation for tests using deprecated methods
- Add
  tests using AuthorizationManagerFactory

Closes
  spring-projectsgh-18422

Signed-off-by: pocj8ur4in <pocj8ur4in@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 25, 2026
@rwinch rwinch added this to the 7.1.0-M2 milestone Jan 26, 2026
@rwinch rwinch added in: build An issue in the build type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 26, 2026
@rwinch rwinch self-assigned this Jan 26, 2026
Copy link
Member

@rwinch rwinch left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I've added some feedback inline

@rwinch rwinch added the status: waiting-for-feedback We need additional information before we can continue label Jan 26, 2026
- preserve setDefaultRolePrefix() in getRootObject()

Signed-off-by: pocj8ur4in <pocj8ur4in@gmail.com>
@pocj8ur4in pocj8ur4in requested a review from rwinch January 31, 2026 12:29
@rwinch rwinch removed the status: waiting-for-feedback We need additional information before we can continue label Feb 2, 2026
@rwinch rwinch enabled auto-merge (rebase) February 2, 2026 17:30
@rwinch rwinch merged commit 991b7d4 into spring-projects:main Feb 2, 2026
6 checks passed
@rwinch
Copy link
Member

rwinch commented Feb 2, 2026

Thanks for the Pull Request! This is now merged into main 😄

@pocj8ur4in pocj8ur4in deleted the gh-18422 branch February 3, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: build An issue in the build type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove compiler warnings for spring-security-data

3 participants