Skip to content

Commit a4d113a

Browse files
authored
[Polish] Fix typo (#2550)
1 parent de6aaa9 commit a4d113a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/java/org/apache/ibatis/cursor/Cursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* Cursor contract to handle fetching items lazily using an Iterator.
22-
* Cursors are a perfect fit to handle millions of items queries that would not normally fits in memory.
22+
* Cursors are a perfect fit to handle millions of items queries that would not normally fit in memory.
2323
* If you use collections in resultMaps then cursor SQL queries must be ordered (resultOrdered="true")
2424
* using the id columns of the resultMap.
2525
*

src/main/java/org/apache/ibatis/executor/BatchExecutorException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public BatchUpdateException getBatchUpdateException() {
6060
* in the list for each successful sub-executor executed before the failing
6161
* executor.
6262
*
63-
* @return the previously successful executor results (may be an empty list
63+
* @return the previously successful executor results (maybe an empty list
6464
* if no executor has executed successfully)
6565
*/
6666
public List<BatchResult> getSuccessfulBatchResults() {

src/main/java/org/apache/ibatis/io/JBoss6VFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected static <T> T checkNotNull(T object) {
125125
}
126126

127127
/**
128-
* Verifies that the return type of a method is what it is expected to be. If it is not, then
128+
* Verifies that the return type of method is what it is expected to be. If it is not, then
129129
* this VFS is marked as invalid for the current environment.
130130
*
131131
* @param method The method whose return type is to be checked.

src/main/java/org/apache/ibatis/mapping/BoundSql.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
/**
2727
* An actual SQL String got from an {@link SqlSource} after having processed any dynamic content.
28-
* The SQL may have SQL placeholders "?" and an list (ordered) of an parameter mappings
28+
* The SQL may have SQL placeholders "?" and a list (ordered) of a parameter mappings
2929
* with the additional information for each parameter (at least the property name of the input object to read
3030
* the value from).
3131
* <p>

src/test/java/org/apache/ibatis/submitted/ognlstatic/OgnlStaticTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void setUp() throws Exception {
5252
* <p>
5353
* DEBUG [main] - ==> Parameters: 1(Integer), 1(Integer)
5454
* <p>
55-
* There are two parameter mappings but DefaulParameterHandler maps them both to input paremeter (integer)
55+
* There are two parameter mappings but DefaultParameterHandler maps them both to input parameter (integer)
5656
*/
5757
@Test // see issue #448
5858
void shouldGetAUserStatic() {

0 commit comments

Comments
 (0)