You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/23 15:45:15 UTC
[camel] 06/14: (chores) camel-jpa: move array designators to the type
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 8c795f79266a5a75a3b0b37bb3c4a0c60f3bb29b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 23 13:51:40 2023 +0200
(chores) camel-jpa: move array designators to the type
---
.../apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java b/components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java
index 7af1f673c56..0194d3218c1 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java
@@ -183,7 +183,7 @@ public class JpaMessageIdRepository extends ServiceSupport implements Idempotent
final EntityManager entityManager
= getTargetEntityManager(exchange, entityManagerFactory, true, sharedEntityManager, true);
- Boolean rc[] = new Boolean[1];
+ Boolean[] rc = new Boolean[1];
transactionStrategy.executeInTransaction(() -> {
if (isJoinTransaction()) {
entityManager.joinTransaction();