Skip to content

Add nullability contract to PasswordEncoder#encode implementations#18490

Merged
rwinch merged 1 commit intospring-projects:mainfrom
scordio:refine-nullability
Feb 19, 2026
Merged

Add nullability contract to PasswordEncoder#encode implementations#18490
rwinch merged 1 commit intospring-projects:mainfrom
scordio:refine-nullability

Conversation

@scordio
Copy link
Contributor

@scordio scordio commented Jan 13, 2026

This is a follow-up to #18334 (comment).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 13, 2026
@scordio scordio force-pushed the refine-nullability branch 2 times, most recently from a2c1fa7 to ed937d9 Compare January 30, 2026 10:37
@rwinch rwinch force-pushed the refine-nullability branch from ed937d9 to 17b6992 Compare February 2, 2026 19:30
rwinch added a commit to scordio/spring-security that referenced this pull request Feb 2, 2026
@rwinch rwinch self-assigned this Feb 2, 2026
@rwinch rwinch added in: core An issue in spring-security-core type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 2, 2026
@rwinch rwinch added this to the 7.1.0-M2 milestone Feb 2, 2026
@rwinch rwinch enabled auto-merge (rebase) February 2, 2026 19:34
@rwinch
Copy link
Member

rwinch commented Feb 2, 2026

Thanks for the PR @scordio! I pushed a minor change to move @Contract after @Overrides for consistency.

@scordio
Copy link
Contributor Author

scordio commented Feb 2, 2026

Oh, I have no idea how I missed it... 😅 Thanks for fixing it!

@rwinch rwinch force-pushed the refine-nullability branch from 8f02aff to 8ab6d3e Compare February 2, 2026 20:42
@rwinch
Copy link
Member

rwinch commented Feb 2, 2026

I pushed an empty commit and then removed it to try and get the CI to go, but it appears that this is related to reported GitHub Actions being stuck in the queue for extended periods of times. Once that gets sorted and the build passes this should merge

@scordio
Copy link
Contributor Author

scordio commented Feb 2, 2026

In case raising a fresh PR would make things simpler with the CI, just let me know and I'll do it 🙂

rwinch added a commit to scordio/spring-security that referenced this pull request Feb 3, 2026
@rwinch rwinch force-pushed the refine-nullability branch from 8ab6d3e to 42e3599 Compare February 3, 2026 01:05
rwinch added a commit to scordio/spring-security that referenced this pull request Feb 3, 2026
@rwinch rwinch force-pushed the refine-nullability branch from 42e3599 to ca2dd4c Compare February 3, 2026 01:09
@jgrandja jgrandja modified the milestones: 7.1.0-M2, 7.1.0-M3 Feb 13, 2026
auto-merge was automatically disabled February 15, 2026 14:42

Head branch was pushed to by a user without write access

@scordio scordio force-pushed the refine-nullability branch 2 times, most recently from 27b1a28 to 271344e Compare February 15, 2026 14:44
@scordio
Copy link
Contributor Author

scordio commented Feb 15, 2026

I rebased and squashed everything in a single commit.

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>AbstractValidatingPasswordEncoder.java
@rwinch rwinch force-pushed the refine-nullability branch from 271344e to 781d2fa Compare February 19, 2026 20:23
@rwinch rwinch enabled auto-merge (rebase) February 19, 2026 20:24
@rwinch rwinch merged commit f8ac095 into spring-projects:main Feb 19, 2026
7 checks passed
@rwinch
Copy link
Member

rwinch commented Feb 19, 2026

Thanks for the Pull Request and helping with the continual rebasing efforts! This is now merged into main 😄

@scordio scordio deleted the refine-nullability branch February 19, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: core An issue in spring-security-core type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants