Fix typos in Javadoc and variable names

Closes gh-33839
This commit is contained in:
Tran Ngoc Nhan 2024-11-03 15:14:46 +07:00 committed by Sam Brannen
parent 438d6de3c1
commit 07b12666b4
6 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@ import org.springframework.lang.Nullable;
*
* <p>First, creates a new Map of the requested targetType with a size equal to the
* size of the source Map. Then copies each element in the source map to the target map.
* Will perform a conversion from the source maps's parameterized K,V types to the target
* Will perform a conversion from the source map's parameterized K,V types to the target
* map's parameterized types K,V if necessary.
*
* @author Keith Donald

View File

@ -48,14 +48,14 @@ public interface SimpleJdbcCallOperations {
SimpleJdbcCallOperations withFunctionName(String functionName);
/**
* Optionally, specify the name of the schema that contins the stored procedure.
* Optionally, specify the name of the schema that contains the stored procedure.
* @param schemaName the name of the schema
* @return the instance of this SimpleJdbcCall
*/
SimpleJdbcCallOperations withSchemaName(String schemaName);
/**
* Optionally, specify the name of the catalog that contins the stored procedure.
* Optionally, specify the name of the catalog that contains the stored procedure.
* <p>To provide consistency with the Oracle DatabaseMetaData, this is used to specify the
* package name if the procedure is declared as part of a package.
* @param catalogName the catalog or package name

View File

@ -23,7 +23,7 @@ import org.springframework.messaging.handler.DestinationPatternsMessageCondition
import org.springframework.messaging.handler.MessageCondition;
/**
* {@link MessageCondition} for SImple Messaging Protocols. Encapsulates the following
* {@link MessageCondition} for Simple Messaging Protocols. Encapsulates the following
* request mapping conditions:
* <ol>
* <li>{@link SimpMessageTypeMessageCondition}

View File

@ -1,5 +1,5 @@
/**
* Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
* Annotations and for handling messages from Simple Messaging Protocols such as STOMP.
*/
@NonNullApi
@NonNullFields

View File

@ -39,7 +39,7 @@ import org.springframework.web.multipart.MultipartResolver;
*
* <p>If no MultipartResolver bean is found, this filter falls back to a default
* MultipartResolver: {@link StandardServletMultipartResolver} for Servlet
* oontainers, based on a multipart-config section in {@code web.xml}.
* containers, based on a multipart-config section in {@code web.xml}.
* Note however that at present the Servlet specification only defines how to
* enable multipart configuration on a Servlet and as a result multipart request
* processing is likely not possible in a Filter unless the Servlet container

View File

@ -478,8 +478,8 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap
@Override
protected boolean hasCorsConfigurationSource(Object handler) {
return super.hasCorsConfigurationSource(handler) ||
(handler instanceof HandlerMethod handerMethod &&
this.mappingRegistry.getCorsConfiguration(handerMethod) != null);
(handler instanceof HandlerMethod handlerMethod &&
this.mappingRegistry.getCorsConfiguration(handlerMethod) != null);
}
@Override