Skip to content

Commit a5c38bd

Browse files
committed
Fix AuthorizationManager T Nullability
Previously AuthorizationManager declared the generic's Nullability incorrectly. This commit marks it properly. Closes gh-17667
1 parent 35b508a commit a5c38bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/springframework/security/authorization/AuthorizationManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @author Evgeniy Cheban
3232
*/
3333
@FunctionalInterface
34-
public interface AuthorizationManager<@Nullable T> {
34+
public interface AuthorizationManager<T extends @Nullable Object> {
3535

3636
/**
3737
* Determines if access should be granted for a specific authentication and object.

0 commit comments

Comments
 (0)