Skip to content

Commit 699d3a2

Browse files
devholic22mp911de
authored andcommitted
Polishing.
Fix "transaparent" to "transparent" in application-context.xml. Remove superfluous braces. Closes spring-projects#3327
1 parent 2909337 commit 699d3a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static String createCountQueryFor(String originalQuery, @Nullable String countPr
623623
} else {
624624

625625
String alias = QueryUtils.detectAlias(originalQuery);
626-
if (("*".equals(variable) && alias != null)) {
626+
if ("*".equals(variable) && alias != null) {
627627
replacement = alias;
628628
}
629629
}

spring-data-jpa/src/test/resources/application-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!-- Necessary to get the entity manager injected into the factory bean -->
3737
<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
3838

39-
<!-- Adds transaparent exception translation to the DAOs -->
39+
<!-- Adds transparent exception translation to the DAOs -->
4040
<bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
4141

4242
<bean id="expressionEvaluationContextProvider" class="org.springframework.data.repository.query.ExtensionAwareQueryMethodEvaluationContextProvider" autowire="constructor" />

0 commit comments

Comments
 (0)