You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2020/09/13 21:11:13 UTC

[camel] branch maven-prerequisites updated: fix the comment formatting which breaks the build

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

bvahdat pushed a commit to branch maven-prerequisites
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/maven-prerequisites by this push:
     new 6b2af48  fix the comment formatting which breaks the build
6b2af48 is described below

commit 6b2af48240e8ae47225705ea9573df1ffd62df18
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Sun Sep 13 23:05:47 2020 +0200

    fix the comment formatting which breaks the build
---
 .../java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java     | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java b/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java
index a54e69c..2bd8d6d 100644
--- a/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java
+++ b/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java
@@ -190,10 +190,8 @@ public class AWS2S3Consumer extends ScheduledBatchPollingConsumer {
                     Exchange exchange = getEndpoint().createExchange(s3Object, s3ObjectSummary.key());
                     answer.add(exchange);
                 } else {
-                    /**
-                     * If includeFolders != true and the object is not included, it is safe to close the object here. 
-                     * If includeFolders == true, the exchage will close the object.
-                     */
+                    // If includeFolders != true and the object is not included, it is safe to close the object here. 
+                    // If includeFolders == true, the exchange will close the object.
                     IOHelper.close(s3Object);
                 }
             }