Skip to content

Commit fbf831c

Browse files
chs98412christophstrobl
authored andcommitted
Remove unnecessary else clause.
Closes: #3368
1 parent ff7c614 commit fbf831c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ protected JpaQueryExecution getExecution() {
171171

172172
if (method.isModifyingQuery()) {
173173
return new ModifyingExecution(method, em);
174-
} else {
175-
return new SingleEntityExecution();
176174
}
175+
176+
return new SingleEntityExecution();
177177
}
178178

179179
/**

0 commit comments

Comments
 (0)