Skip to content

Commit a4746f7

Browse files
committed
Sonar fix
1 parent 26ce65d commit a4746f7

File tree

1 file changed

+2
-2
lines changed
  • spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core

1 file changed

+2
-2
lines changed

spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public Object executeOutboundJpaOperation(final Message<?> message) {
432432

433433
ParameterSource parameterSource = null;
434434
if (this.jpaQuery != null || this.nativeQuery != null || this.namedQuery != null) {
435-
parameterSource = this.determineParameterSource(message);
435+
parameterSource = determineParameterSource(message);
436436
}
437437
if (this.jpaQuery != null) {
438438
result = this.jpaOperations.executeUpdate(this.jpaQuery, parameterSource);
@@ -464,7 +464,7 @@ else if (this.namedQuery != null) {
464464
}
465465
}
466466

467-
return result;
467+
return result; // NOSONAR never null
468468

469469
}
470470

0 commit comments

Comments
 (0)