spring-projects / spring-projects/spring-security
Wrong import for NonNull in DefaultSecurityFilterChain
Open
Beginner friendly
Nobody has claimed this yet.
status: waiting-for-triage
type: enhancement
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Expected Behavior
import org.springframework.lang.NonNull;
Current Behavior
import reactor.util.annotation.NonNull;
Context
In the class: org.springframework.security.web.DefaultSecurityFilterChain
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate org.springframework.security.web.DefaultSecurityFilterChain and inspect its imports. Confirm which NonNull annotation the class should use, then verify that the class compiles with the corrected import; done means the reactor annotation is no longer imported there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- security
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100