Fix typos in Javadoc, reference docs, and code
Closes gh-28822
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user