You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/05 06:05:03 UTC

[camel] 01/05: CAMEL-15591 - Default Value is breaking Spring Boot generation for Zipfile starter

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c1c4da92a726f8c7992dc36bc171de8d0d57157f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 5 07:30:09 2020 +0200

    CAMEL-15591 - Default Value is breaking Spring Boot generation for Zipfile starter
---
 .../java/org/apache/camel/dataformat/zipfile/ZipFileDataFormat.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipFileDataFormat.java b/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipFileDataFormat.java
index e1295d6..9db72bc 100644
--- a/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipFileDataFormat.java
+++ b/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipFileDataFormat.java
@@ -45,7 +45,7 @@ public class ZipFileDataFormat extends ServiceSupport implements DataFormat, Dat
     /**
      * The default maximum decompressed size (in bytes), which corresponds to 1G.
      */
-    private static final long DEFAULT_MAXIMUM_DECOMPRESSED_SIZE = 1073741824L;
+    private static final long DEFAULT_MAXIMUM_DECOMPRESSED_SIZE = 1073741824;
     private boolean usingIterator;
     private boolean allowEmptyDirectory;
     private boolean preservePathElements;