You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by oa...@apache.org on 2020/02/12 15:39:17 UTC

[camel] branch master updated: Change comparsion based on String

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

oalsafi 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 1fb3eb4  Change comparsion based on String
     new ffff621  Merge pull request #3573 from omarsmak/fix-small-lgtm
1fb3eb4 is described below

commit 1fb3eb4aa6a7375aa228b1459bf2b7aac04fd03a
Author: Omar Al-Safi <om...@gmail.com>
AuthorDate: Wed Feb 12 16:34:59 2020 +0100

    Change comparsion based on String
---
 .../src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Endpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Endpoint.java b/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Endpoint.java
index e6a8187..fe7f4fe 100644
--- a/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Endpoint.java
+++ b/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Endpoint.java
@@ -189,6 +189,6 @@ public class Ddb2Endpoint extends ScheduledPollEndpoint {
     }
 
     private boolean isTableActive(TableDescription tableDescription) {
-        return tableDescription.tableStatus().equals(TableStatus.ACTIVE.toString());
+        return tableDescription.tableStatus().toString().equals(TableStatus.ACTIVE.toString());
     }
 }