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/03/17 17:19:32 UTC

[camel] branch master updated: Camel-AWS2-S3: Cleanup

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


The following commit(s) were added to refs/heads/master by this push:
     new bfda1c1  Camel-AWS2-S3: Cleanup
bfda1c1 is described below

commit bfda1c1efc734def297d838eae33c065075437cd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 17 18:19:07 2020 +0100

    Camel-AWS2-S3: Cleanup
---
 .../aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java       | 1 +
 .../aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java
index ea67658..0342cd9 100644
--- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java
+++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java
@@ -49,6 +49,7 @@ public class S3ListObjectsOperationIntegrationTest extends CamelTestSupport {
     @EndpointInject("mock:result")
     private MockEndpoint result;
 
+    @SuppressWarnings("unchecked")
     @Test
     public void sendIn() throws Exception {
         result.expectedMessageCount(1);
diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java
index cb4bf71..b864077 100644
--- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java
+++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java
@@ -83,6 +83,7 @@ public class S3ObjectRangeOperationIntegrationTest extends CamelTestSupport {
 
                 from("direct:getObjectRange").to(awsEndpoint).process(new Processor() {
 
+                    @SuppressWarnings("unchecked")
                     @Override
                     public void process(Exchange exchange) throws Exception {
                         ResponseInputStream<GetObjectResponse> s3 = exchange.getIn().getBody(ResponseInputStream.class);