Skip to content

Commit 6a48fcd

Browse files
ngocnhan-tran1996mp911de
authored andcommitted
Fix typos.
Closes #4210 Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent 97d8511 commit 6a48fcd

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/JpaSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* Sort option for queries that wraps JPA metamodel {@link Attribute}s for sorting.
3737
* <p>
38-
* {@link JpaSort#unsafe} accepts unsafe sort expressions, i. e. the String provided is not necessarily a property but
38+
* {@link JpaSort#unsafe} accepts unsafe sort expressions, i.e. the String provided is not necessarily a property but
3939
* can be an arbitrary expression piped into the query execution.
4040
*
4141
* @author Thomas Darimont

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.util.Assert;
2323

2424
/**
25-
* QueryHints provides access to query hints defined via {@link CrudMethodMetadata#getQueryHints()} QueryHintList()} by
25+
* QueryHints provides access to query hints defined via {@link CrudMethodMetadata#getQueryHints() QueryHints()} by
2626
* default excluding JPA {@link jakarta.persistence.EntityGraph}. The object allows to switch between query hints for
2727
* count queries with or without fetch graph hints.
2828
*

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public ClasspathScanningPersistenceUnitPostProcessor(String basePackage) {
8181
}
8282

8383
/**
84-
* Configures the file name pattern JPA entity mapping files shall scanned from the classpath. Lookup will use the
84+
* Configures the file name pattern JPA entity mapping files shall be scanned from the classpath. Lookup will use the
8585
* configured base package as root.
8686
*
8787
* @param mappingFilePattern must not be {@literal null} or empty.
@@ -191,8 +191,8 @@ private Set<String> scanForMappingFileLocations() {
191191
* Returns the path from the given {@link URI}. In case the given {@link URI} is opaque, e.g. beginning with jar:file,
192192
* the path is extracted from URI by leaving out the protocol prefix, see DATAJPA-519.
193193
*
194-
* @param uri
195-
* @return
194+
* @param uri the given {@link URI}.
195+
* @return the path from the given {@link URI}.
196196
*/
197197
private static String getResourcePath(URI uri) {
198198

src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This section describes configuring Spring Data JPA through either:
88

99
[[jpa.java-config]]
1010
== Annotation-based Configuration
11-
The Spring Data JPA repositories support can be activated through both JavaConfig as well as a custom XML namespace, as shown in the following example:
11+
The Spring Data JPA repositories support can be activated through both JavaConfig and a custom XML namespace, as shown in the following example:
1212

1313
.Spring Data JPA repositories using JavaConfig
1414
====

0 commit comments

Comments
 (0)