Skip to content

Commit 0028d7d

Browse files
authored
fix typos in method and docs.
Original Pull Request #2640 Closes #2638
1 parent d9bb991 commit 0028d7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public SELF withReactiveBatchSize(@Nullable Integer reactiveBatchSize) {
440440
return self();
441441
}
442442

443-
public SELF witAllowNoIndices(@Nullable Boolean allowNoIndices) {
443+
public SELF withAllowNoIndices(@Nullable Boolean allowNoIndices) {
444444
this.allowNoIndices = allowNoIndices;
445445
return self();
446446
}

src/test/java/org/springframework/data/elasticsearch/utils/IndexNameProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package org.springframework.data.elasticsearch.utils;
1717

1818
/**
19-
* Class providing an index name witInCo
19+
* Class providing an index name with a prefix and a index number
2020
*
2121
* @author Peter-Josef Meisch
2222
*/

0 commit comments

Comments
 (0)