From 9a43726ca7d309946907bf5ad86ff114d8441da0 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 5 Sep 2019 10:22:32 -0400 Subject: [PATCH] Fix new Sonar smell --- .../org/springframework/integration/jpa/core/JpaExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java b/spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java index e61f060efe..e123bf2d39 100644 --- a/spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java +++ b/spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java @@ -451,7 +451,7 @@ public class JpaExecutor implements InitializingBean, BeanFactoryAware { this.jpaOperations.persist(payload, this.flushSize, this.clearOnFlush); return payload; case MERGE: - return this.jpaOperations.merge(payload, this.flushSize, this.clearOnFlush); + return this.jpaOperations.merge(payload, this.flushSize, this.clearOnFlush); // NOSONAR case DELETE: this.jpaOperations.delete(payload); if (this.flush) {