Fix typos in Javadoc, reference docs, and code

Closes gh-28822
This commit is contained in:
Marc Wrobel
2022-07-14 12:27:32 +02:00
committed by Sam Brannen
parent 50dff77d01
commit 92a231cf91
18 changed files with 23 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
import org.springframework.web.client.RestTemplate;
/**
* Convenient super class for application classes that need REST access.
* Convenient superclass for application classes that need REST access.
*
* <p>Requires a {@link ClientHttpRequestFactory} or a {@link RestTemplate} instance to be set.
*

View File

@@ -28,7 +28,7 @@ import org.springframework.lang.Nullable;
* this class which {@link RequestAttributes} scope to read attributes from.
*
* <p>Subclasses may wish to override the {@link #get} and {@link #remove}
* methods to add synchronization around the call back into this super class.
* methods to add synchronization around the call back into this superclass.
*
* @author Rod Johnson
* @author Juergen Hoeller

View File

@@ -128,7 +128,7 @@ public final class HandlerTypePredicate implements Predicate<Class<?>> {
/**
* Match handlers that are assignable to a given type.
* @param types one or more handler super types
* @param types one or more handler supertypes
*/
public static HandlerTypePredicate forAssignableType(Class<?>... types) {
return new Builder().assignableType(types).build();
@@ -187,7 +187,7 @@ public final class HandlerTypePredicate implements Predicate<Class<?>> {
/**
* Match handlers that are assignable to a given type.
* @param types one or more handler super types
* @param types one or more handler supertypes
*/
public Builder assignableType(Class<?>... types) {
this.assignableTypes.addAll(Arrays.asList(types));