CAMEL-8163 use the old ObjectHelper.equal method signature

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

Branch: refs/heads/camel-2.15.x
Commit: b03a51c959b2e5a2890f50160ccfe8dc8056bf5a
Parents: 79c6e28
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Wed Feb 24 14:38:23 2016 +0100
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Wed Feb 24 14:38:23 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/mail/MailConfiguration.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b03a51c9/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
----------------------------------------------------------------------
diff --git 
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
 
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
index da49b8e..1bbc1f9 100644
--- 
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
+++ 
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConfiguration.java
@@ -261,8 +261,7 @@ public class MailConfiguration implements Cloneable {
         if (additionalJavaMailProperties != null) {
             return ObjectHelper.equal(
                 additionalJavaMailProperties.getProperty("mail." + protocol + 
".starttls.enable"),
-                "true",
-                true);
+                "true");
         }
 
         return false;

Reply via email to