DATAJDBC-506 - Fix some typos in code and documentation.
Original pull request: #200.
This commit is contained in:
committed by
Jens Schauder
parent
b24a8244f2
commit
485ef495a4
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user