You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/12/05 15:23:32 UTC

camel git commit: CAMEL-10519 Disable TLSv1.0 in camel-salesforce

Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x ea4888c8a -> 4994bcb08


CAMEL-10519 Disable TLSv1.0 in camel-salesforce

Fixed warning message formatting.

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4994bcb0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4994bcb0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4994bcb0

Branch: refs/heads/camel-2.17.x
Commit: 4994bcb0860200b878f015d5a7783a9c6ec72766
Parents: ea4888c
Author: Zoran Regvart <zo...@regvart.com>
Authored: Mon Dec 5 15:30:52 2016 +0100
Committer: Zoran Regvart <zo...@regvart.com>
Committed: Mon Dec 5 15:30:52 2016 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/salesforce/SalesforceComponent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4994bcb0/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
index 055ecd5..ba82b67 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
@@ -217,7 +217,7 @@ public class SalesforceComponent extends UriEndpointComponent implements Endpoin
                             + "          be sufficient to access Salesforce from March 4, 2017. You need\n"
                             + "          to connect with TLS version 1.1 or newer.\n"
                             + "          This Java Virtual Machine is configured, or it supports: \n"
-                            + "          " + supportedProtocolsString.substring(1, supportedProtocolsString.length() - 2)
+                            + "          " + supportedProtocolsString.substring(1, supportedProtocolsString.length() - 1) + "\n"
                             + "          For details see:\n"
                             + "            https://help.salesforce.com/HTViewSolution?id=000221207\n"
                             + "-----------------------------------------------------------------------\n");