File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
src/main/java/org/springframework/security/data/repository/query Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1- plugins {
2- id ' security-nullability'
3- }
4-
51apply plugin : ' io.spring.convention.spring-module'
62
73dependencies {
Original file line number Diff line number Diff line change 2929import org .springframework .security .core .context .SecurityContextHolder ;
3030import org .springframework .security .core .context .SecurityContextHolderStrategy ;
3131import org .springframework .util .Assert ;
32- import org .jspecify .annotations .Nullable ;
33- import org .jspecify .annotations .NullUnmarked ;
3432
3533/**
3634 * <p>
@@ -95,7 +93,7 @@ public class SecurityEvaluationContextExtension implements EvaluationContextExte
9593 private SecurityContextHolderStrategy securityContextHolderStrategy = SecurityContextHolder
9694 .getContextHolderStrategy ();
9795
98- private @ Nullable Authentication authentication ;
96+ private Authentication authentication ;
9997
10098 private AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl ();
10199
@@ -148,7 +146,7 @@ public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy secur
148146 this .securityContextHolderStrategy = securityContextHolderStrategy ;
149147 }
150148
151- private @ Nullable Authentication getAuthentication () {
149+ private Authentication getAuthentication () {
152150 if (this .authentication != null ) {
153151 return this .authentication ;
154152 }
You can’t perform that action at this time.
0 commit comments