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 ad31a1f1322447c2ad2ebf6f8c27f47648f2742c
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Sat Jan 7 09:19:47 2023 +0100

    (chores) camel-vertx: cleaned unnecessary unboxing/boxing
---
 .../component/vertx/kafka/operations/VertxKafkaProducerOperations.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component/src/main/java/org/apache/camel/component/vertx/kafka/operations/VertxKafkaProducerOperations.java
 
b/components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component/src/main/java/org/apache/camel/component/vertx/kafka/operations/VertxKafkaProducerOperations.java
index f2adffcae46..c3a06943a7f 100644
--- 
a/components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component/src/main/java/org/apache/camel/component/vertx/kafka/operations/VertxKafkaProducerOperations.java
+++ 
b/components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component/src/main/java/org/apache/camel/component/vertx/kafka/operations/VertxKafkaProducerOperations.java
@@ -196,7 +196,7 @@ public class VertxKafkaProducerOperations {
         Object timeStamp = 
configurationOptionsProxy.getOverrideTimestamp(message);
         Long overrideTimestamp = null;
         if (ObjectHelper.isNotEmpty(timeStamp)) {
-            overrideTimestamp = ((Long) timeStamp).longValue();
+            overrideTimestamp = (Long) timeStamp;
         }
 
         return overrideTimestamp;

Reply via email to