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 2022/10/04 12:26:00 UTC

[camel] 03/07: (chores) camel-aws2-s3: apply required cast

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 8625905fa054bb7bac324274d3842600086c2563
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Oct 4 11:39:49 2022 +0200

    (chores) camel-aws2-s3: apply required cast
---
 .../java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java b/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java
index f07e715da45..881c5ba1ca4 100644
--- a/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java
+++ b/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java
@@ -67,7 +67,7 @@ public class AWS2S3Configuration implements Cloneable {
     @UriParam(label = "producer")
     private boolean multiPartUpload;
     @UriParam(label = "producer", defaultValue = "" + 25 * 1024 * 1024)
-    private long partSize = 25 * 1024 * 1024;
+    private long partSize = (long) 25 * 1024 * 1024;
     @UriParam
     private String policy;
     @UriParam(label = "producer")