Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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<Textends@Nullable Object> {
3535

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /