Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FCF918A67 for ; Thu, 28 May 2015 07:07:02 +0000 (UTC) Received: (qmail 9336 invoked by uid 500); 28 May 2015 07:06:54 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 9190 invoked by uid 500); 28 May 2015 07:06:54 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 8947 invoked by uid 99); 28 May 2015 07:06:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2015 07:06:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E1C31E0D65; Thu, 28 May 2015 07:06:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Thu, 28 May 2015 07:06:57 -0000 Message-Id: <77ea6ce0244b4f09b010170e32471930@git.apache.org> In-Reply-To: <75749d42ce044abaa5e2e77dcf73fc27@git.apache.org> References: <75749d42ce044abaa5e2e77dcf73fc27@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/5] camel git commit: Fixed CS Fixed CS Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/83682f98 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/83682f98 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/83682f98 Branch: refs/heads/master Commit: 83682f98b3b1cbbc6567e5e9a3e780dd95768644 Parents: d585881 Author: Claus Ibsen Authored: Thu May 28 09:11:40 2015 +0200 Committer: Claus Ibsen Committed: Thu May 28 09:11:40 2015 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/component/stomp/StompEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/83682f98/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompEndpoint.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompEndpoint.java index a34fa12..344169f 100644 --- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompEndpoint.java +++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompEndpoint.java @@ -83,8 +83,8 @@ public class StompEndpoint extends DefaultEndpoint { stomp.setLogin(configuration.getLogin()); stomp.setPasscode(configuration.getPasscode()); stomp.connectCallback(promise); - if (configuration.getHost() != null && !configuration.getHost().isEmpty()){ - stomp.setHost(configuration.getHost()); + if (configuration.getHost() != null && !configuration.getHost().isEmpty()) { + stomp.setHost(configuration.getHost()); } connection = promise.await();