Skip to content

Commit 07b1266

Browse files
ngocnhan-tran1996sbrannen
authored andcommitted
Fix typos in Javadoc and variable names
Closes gh-33839
1 parent 438d6de commit 07b1266

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

spring-core/src/main/java/org/springframework/core/convert/support/MapToMapConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*
3434
* <p>First, creates a new Map of the requested targetType with a size equal to the
3535
* size of the source Map. Then copies each element in the source map to the target map.
36-
* Will perform a conversion from the source maps's parameterized K,V types to the target
36+
* Will perform a conversion from the source map's parameterized K,V types to the target
3737
* map's parameterized types K,V if necessary.
3838
*
3939
* @author Keith Donald

spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCallOperations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ public interface SimpleJdbcCallOperations {
4848
SimpleJdbcCallOperations withFunctionName(String functionName);
4949

5050
/**
51-
* Optionally, specify the name of the schema that contins the stored procedure.
51+
* Optionally, specify the name of the schema that contains the stored procedure.
5252
* @param schemaName the name of the schema
5353
* @return the instance of this SimpleJdbcCall
5454
*/
5555
SimpleJdbcCallOperations withSchemaName(String schemaName);
5656

5757
/**
58-
* Optionally, specify the name of the catalog that contins the stored procedure.
58+
* Optionally, specify the name of the catalog that contains the stored procedure.
5959
* <p>To provide consistency with the Oracle DatabaseMetaData, this is used to specify the
6060
* package name if the procedure is declared as part of a package.
6161
* @param catalogName the catalog or package name

spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageMappingInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.messaging.handler.MessageCondition;
2424

2525
/**
26-
* {@link MessageCondition} for SImple Messaging Protocols. Encapsulates the following
26+
* {@link MessageCondition} for Simple Messaging Protocols. Encapsulates the following
2727
* request mapping conditions:
2828
* <ol>
2929
* <li>{@link SimpMessageTypeMessageCondition}

spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
2+
* Annotations and for handling messages from Simple Messaging Protocols such as STOMP.
33
*/
44
@NonNullApi
55
@NonNullFields

spring-web/src/main/java/org/springframework/web/multipart/support/MultipartFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* <p>If no MultipartResolver bean is found, this filter falls back to a default
4141
* MultipartResolver: {@link StandardServletMultipartResolver} for Servlet
42-
* oontainers, based on a multipart-config section in {@code web.xml}.
42+
* containers, based on a multipart-config section in {@code web.xml}.
4343
* Note however that at present the Servlet specification only defines how to
4444
* enable multipart configuration on a Servlet and as a result multipart request
4545
* processing is likely not possible in a Filter unless the Servlet container

spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMethodMapping.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ protected HandlerMethod handleNoMatch(Set<T> mappings, String lookupPath, HttpSe
478478
@Override
479479
protected boolean hasCorsConfigurationSource(Object handler) {
480480
return super.hasCorsConfigurationSource(handler) ||
481-
(handler instanceof HandlerMethod handerMethod &&
482-
this.mappingRegistry.getCorsConfiguration(handerMethod) != null);
481+
(handler instanceof HandlerMethod handlerMethod &&
482+
this.mappingRegistry.getCorsConfiguration(handlerMethod) != null);
483483
}
484484

485485
@Override

0 commit comments

Comments
 (0)