DATAJDBC-506 - Fix some typos in code and documentation.

Original pull request: #200.
This commit is contained in:
Michal Fotyga
2020-03-13 21:11:12 +01:00
committed by Jens Schauder
parent b24a8244f2
commit 485ef495a4
7 changed files with 11 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ public class QueryAnnotationHsqlIntegrationTests {
}
@Test // DATAJDBC-175
public void executeCustomQueryWithReturnTypeIsNubmer() {
public void executeCustomQueryWithReturnTypeIsNumber() {
repository.save(dummyEntity("aaa"));
repository.save(dummyEntity("bbb"));
@@ -199,7 +199,7 @@ public class QueryAnnotationHsqlIntegrationTests {
public void executeCustomQueryWithReturnTypeIsDate() {
// Since Timestamp extends Date the repository returns the Timestamp as it comes from the database.
// Trying to compare that to an actual Date results in non determistic results, so we have to use an actual
// Trying to compare that to an actual Date results in non deterministic results, so we have to use an actual
// Timestamp.
Date now = new Timestamp(System.currentTimeMillis());
assertThat(repository.nowWithDate()).isAfterOrEqualsTo(now);

View File

@@ -81,7 +81,7 @@ public class JdbcRepositoryFactoryBeanUnitTests {
}
@Test(expected = IllegalStateException.class) // DATAJDBC-155
public void afterPropertiesThowsExceptionWhenNoMappingContextSet() {
public void afterPropertiesThrowsExceptionWhenNoMappingContextSet() {
factoryBean.setMappingContext(null);
factoryBean.setApplicationEventPublisher(publisher);