diff --git a/core/src/main/java/org/springframework/security/authorization/method/PostFilterAuthorizationMethodInterceptor.java b/core/src/main/java/org/springframework/security/authorization/method/PostFilterAuthorizationMethodInterceptor.java index 0264e6ecebe..0080f8da922 100644 --- a/core/src/main/java/org/springframework/security/authorization/method/PostFilterAuthorizationMethodInterceptor.java +++ b/core/src/main/java/org/springframework/security/authorization/method/PostFilterAuthorizationMethodInterceptor.java @@ -123,7 +123,7 @@ public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy strat /** * Filter a {@code returnedObject} using the {@link PostFilter} annotation that the * {@link MethodInvocation} specifies. - * @param mi the {@link MethodInvocation} to check check + * @param mi the {@link MethodInvocation} to check * @return filtered {@code returnedObject} */ @Override diff --git a/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java b/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java index d6123484288..cb7fc115cbf 100644 --- a/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java +++ b/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextCallable.java @@ -131,7 +131,7 @@ public String toString() { /** * Creates a {@link DelegatingSecurityContextCallable} and with the given * {@link Callable} and {@link SecurityContext}, but if the securityContext is null - * will defaults to the current {@link SecurityContext} on the + * will default to the current {@link SecurityContext} on the * {@link SecurityContextHolder} * @param delegate the delegate {@link DelegatingSecurityContextCallable} to run with * the specified {@link SecurityContext}. Cannot be null. diff --git a/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextRunnable.java b/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextRunnable.java index b8e9576c6b6..d8e7df569d8 100644 --- a/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextRunnable.java +++ b/core/src/main/java/org/springframework/security/concurrent/DelegatingSecurityContextRunnable.java @@ -47,7 +47,7 @@ public final class DelegatingSecurityContextRunnable implements Runnable { .getContextHolderStrategy(); /** - * The {@link SecurityContext} that the delegate {@link Runnable} will be ran as. + * The {@link SecurityContext} that the delegate {@link Runnable} will be run as. */ private SecurityContext delegateSecurityContext; diff --git a/core/src/main/java/org/springframework/security/core/token/TokenService.java b/core/src/main/java/org/springframework/security/core/token/TokenService.java index a6248a83065..24aa5f0d2f4 100644 --- a/core/src/main/java/org/springframework/security/core/token/TokenService.java +++ b/core/src/main/java/org/springframework/security/core/token/TokenService.java @@ -35,7 +35,7 @@ * building block for more sophisticated token-based solutions. For example, * authentication systems that depend on stateless session keys. These could, for * instance, place the username inside the user-specified extended information associated - * with the key). It is important to recognise that we do not intend for this interface to + * with the key. It is important to recognise that we do not intend for this interface to * be expanded to provide such capabilities directly. *

* diff --git a/core/src/main/java/org/springframework/security/core/userdetails/User.java b/core/src/main/java/org/springframework/security/core/userdetails/User.java index 794b1d336d3..3d613d05ad7 100644 --- a/core/src/main/java/org/springframework/security/core/userdetails/User.java +++ b/core/src/main/java/org/springframework/security/core/userdetails/User.java @@ -323,7 +323,7 @@ public int compare(GrantedAuthority g1, GrantedAuthority g2) { /** * Builds the user to be added. At minimum the username, password, and authorities - * should provided. The remaining attributes have reasonable defaults. + * should be provided. The remaining attributes have reasonable defaults. */ public static final class UserBuilder { diff --git a/core/src/main/java/org/springframework/security/core/userdetails/UserDetailsService.java b/core/src/main/java/org/springframework/security/core/userdetails/UserDetailsService.java index 22ac2162974..2fe823ee59e 100644 --- a/core/src/main/java/org/springframework/security/core/userdetails/UserDetailsService.java +++ b/core/src/main/java/org/springframework/security/core/userdetails/UserDetailsService.java @@ -38,7 +38,7 @@ public interface UserDetailsService { * may possibly be case sensitive, or case insensitive depending on how the * implementation instance is configured. In this case, the UserDetails * object that comes back may have a username that is of a different case than what - * was actually requested.. + * was actually requested. * @param username the username identifying the user whose data is required. * @return a fully populated user record (never null) * @throws UsernameNotFoundException if the user could not be found or the user has no diff --git a/core/src/main/java/org/springframework/security/provisioning/package-info.java b/core/src/main/java/org/springframework/security/provisioning/package-info.java index fb0add19ed3..6850abd6479 100644 --- a/core/src/main/java/org/springframework/security/provisioning/package-info.java +++ b/core/src/main/java/org/springframework/security/provisioning/package-info.java @@ -16,7 +16,7 @@ /** * Contains simple user and authority group account provisioning interfaces together with - * a a JDBC-based implementation. + * a JDBC-based implementation. */ @NullMarked package org.springframework.security.provisioning;