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 2017/12/21 09:35:58 UTC
[camel] 01/02: CAMEL-12089 - Polish
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 c4fb57fae4ba3f7a876d885c8f391fb58e134f97
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 21 10:31:20 2017 +0100
CAMEL-12089 - Polish
---
.../camel/component/aws/kinesis/ReachedClosedStatusException.java | 4 +++-
.../aws/kinesis/KinesisConsumerClosedShardWithSilentTest.java | 2 --
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/ReachedClosedStatusException.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/ReachedClosedStatusException.java
index 8376511..adce72b 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/ReachedClosedStatusException.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/ReachedClosedStatusException.java
@@ -18,7 +18,9 @@ package org.apache.camel.component.aws.kinesis;
public class ReachedClosedStatusException extends Exception {
- private final String streamName;
+ private static final long serialVersionUID = -2701697822726751407L;
+
+ private final String streamName;
private final String shardId;
public ReachedClosedStatusException(String streamName, String shardId) {
diff --git a/components/camel-aws/src/test/java/org/apache/camel/component/aws/kinesis/KinesisConsumerClosedShardWithSilentTest.java b/components/camel-aws/src/test/java/org/apache/camel/component/aws/kinesis/KinesisConsumerClosedShardWithSilentTest.java
index f5daa8f..64f949e 100644
--- a/components/camel-aws/src/test/java/org/apache/camel/component/aws/kinesis/KinesisConsumerClosedShardWithSilentTest.java
+++ b/components/camel-aws/src/test/java/org/apache/camel/component/aws/kinesis/KinesisConsumerClosedShardWithSilentTest.java
@@ -46,8 +46,6 @@ import org.mockito.junit.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.Mockito.any;
-import static org.mockito.Mockito.never;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
--
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.