Skip to content

Commit ef61e29

Browse files
ngocnhan-tran1996mp911de
authored andcommitted
Fix typos.
Signed-off-by: Tran Ngoc Nhan <[email protected]> Closes #4033
1 parent 9b04df8 commit ef61e29

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

spring-data-envers/src/main/java/org/springframework/data/envers/repository/config/EnableEnversRepositories.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class;
139139

140140
/**
141-
* Configure a specific {@link BeanNameGenerator} to be used when creating the repositoy beans.
141+
* Configure a specific {@link BeanNameGenerator} to be used when creating the repository beans.
142142
* @return the {@link BeanNameGenerator} to be used or the base {@link BeanNameGenerator} interface to indicate context default.
143143
* @since 3.4
144144
* @see EnableJpaRepositories#nameGenerator()

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/ParameterMetadataProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,8 @@ ScoringFunction getScoringFunction() {
230230
}
231231

232232
/**
233-
*
234233
* @return the vector binding identifier.
235-
* @throws IllegalStateException if parameters do not cotain
234+
* @throws IllegalStateException if parameters do not contain a Vector parameter binding.
236235
* @since 4.0
237236
*/
238237
ParameterBinding getVectorBinding() {
@@ -362,6 +361,7 @@ public boolean isCompatibleWith(ParameterBinding binding) {
362361

363362
return false;
364363
}
364+
365365
}
366366

367367
static class RangeParameterBinding extends ScoreParameterBinding {
@@ -403,6 +403,7 @@ public boolean isCompatibleWith(ParameterBinding binding) {
403403

404404
return false;
405405
}
406+
406407
}
407408

408409
}

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/JpaPersistableEntityInformation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.springframework.data.domain.Persistable;
2525

2626
/**
27-
* Extension of {@link JpaMetamodelEntityInformation} that consideres methods of {@link Persistable} to lookup the id.
27+
* Extension of {@link JpaMetamodelEntityInformation} that considers methods of {@link Persistable} to lookup the id.
2828
*
2929
* @author Oliver Gierke
3030
* @author Christoph Strobl
@@ -67,4 +67,5 @@ public boolean isNew(T entity) {
6767
public @Nullable ID getId(T entity) {
6868
return entity.getId();
6969
}
70+
7071
}

0 commit comments

Comments
 (0)