Fix typos in documentations.

Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
This commit is contained in:
Marc Wrobel
2022-07-18 16:43:44 +02:00
committed by Jens Schauder
parent 1aec184ff0
commit ce994f9ea0
57 changed files with 83 additions and 83 deletions

View File

@@ -34,7 +34,7 @@ import org.springframework.data.jpa.domain.AbstractAuditable;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
/**
* User domain class that uses auditing functionality of Spring Data that can either be aquired implementing
* User domain class that uses auditing functionality of Spring Data that can either be acquired implementing
* {@link Auditable} or extend {@link AbstractAuditable}.
*
* @author Oliver Gierke

View File

@@ -22,7 +22,7 @@ import javax.persistence.PersistenceContext;
/**
* Implementation fo the custom repository functionality declared in {@link UserRepositoryCustom} based on JPA. To use
* this implementation in combination with Spring Data JPA you can either register it programatically:
* this implementation in combination with Spring Data JPA you can either register it programmatically:
*
* <pre>
* EntityManager em = ... // Obtain EntityManager

View File

@@ -28,7 +28,7 @@ import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.stereotype.Component;
/**
* Class with the implementation of the custom repository code. Uses JDBC in this case. For basic programatic setup see
* Class with the implementation of the custom repository code. Uses JDBC in this case. For basic programmatic setup see
* {@link UserRepositoryImpl} for examples.
* <p>
* As you need to hand the instance a {@link javax.sql.DataSource} or

View File

@@ -28,8 +28,8 @@ import org.springframework.data.repository.CrudRepository;
import org.springframework.scheduling.annotation.Async;
/**
* Simple repository interface for {@link User} instances. The interface is used to declare so called query methods,
* methods to retrieve single entities or collections of them.
* Simple repository interface for {@link User} instances. The interface is used to declare the so-called query methods,
* i.e. methods to retrieve single entities or collections of them.
*
* @author Oliver Gierke
* @author Thomas Darimont

View File

@@ -24,7 +24,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.transaction.annotation.Transactional;
/**
* Intergration test showing the usage of a custom method implemented for all repositories
* Integration test showing the usage of a custom method implemented for all repositories
*
* @author Oliver Gierke
* @author Divya Srivastava

View File

@@ -154,7 +154,7 @@ class SimpleUserRepositoryTests {
var user2 = new User();
user2.setLastname("lastname-2");
// we deliberatly save the items in reverse
// we deliberately save the items in reverse
repository.saveAll(Arrays.asList(user2, user1, user0));
var result = repository.findFirst2ByOrderByLastnameAsc();
@@ -253,7 +253,7 @@ class SimpleUserRepositoryTests {
/**
* Here we demonstrate the usage of {@link CompletableFuture} as a result wrapper for asynchronous repository query
* methods. Note, that we need to disable the surrounding transaction to be able to asynchronously read the written
* data from from another thread within the same test method.
* data from another thread within the same test method.
*/
@Test
@Transactional(propagation = Propagation.NOT_SUPPORTED)