You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/07/06 21:24:02 UTC

[camel] branch master updated: CAMEL-11803: Fixes checkstyle issue

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

zregvart 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 706d2dd  CAMEL-11803: Fixes checkstyle issue
706d2dd is described below

commit 706d2dd87af310e5831de68923ad04d1d03ca736
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Jul 6 23:23:58 2018 +0200

    CAMEL-11803: Fixes checkstyle issue
---
 .../java/org/apache/camel/component/salesforce/SalesforceConsumer.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceConsumer.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceConsumer.java
index 861edec..8224d64 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceConsumer.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceConsumer.java
@@ -139,6 +139,8 @@ public class SalesforceConsumer extends DefaultConsumer {
         case PLATFORM_EVENT:
             createPlatformEventMessage(message, in);
             break;
+        default:
+            throw new IllegalStateException("Unknown message kind: " + messageKind);
         }
 
         try {