camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject camel git commit: Use true|false instead of Boolean.TRUE|Boolean.FALSE strings as Claus suggested.
Date Wed, 01 Apr 2015 17:00:33 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x 201451f72 -> bd08b83f4


Use true|false instead of Boolean.TRUE|Boolean.FALSE strings as Claus suggested.


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

Branch: refs/heads/camel-2.15.x
Commit: bd08b83f48aae7ce9f4459a3203a1e3bcca3004e
Parents: 201451f
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Wed Apr 1 15:35:31 2015 +0200
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Wed Apr 1 18:59:53 2015 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/aws/sqs/SqsConfiguration.java     | 2 +-
 .../xmlsecurity/processor/XmlSignatureConfiguration.java         | 4 ++--
 .../component/xmlsecurity/processor/XmlSignerConfiguration.java  | 2 +-
 .../xmlsecurity/processor/XmlVerifierConfiguration.java          | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bd08b83f/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
index 31a3a2e..aabae7f 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
@@ -57,7 +57,7 @@ public class SqsConfiguration {
     private Integer waitTimeSeconds;
     @UriParam
     private Integer defaultVisibilityTimeout;
-    @UriParam(defaultValue = "Boolean.FALSE")
+    @UriParam(defaultValue = "false")
     private Boolean extendMessageVisibility = Boolean.FALSE;
     @UriParam(defaultValue = "1")
     private Integer concurrentConsumers = 1;

http://git-wip-us.apache.org/repos/asf/camel/blob/bd08b83f/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java
index 52b8097..beded30 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java
@@ -41,10 +41,10 @@ public abstract class XmlSignatureConfiguration implements Cloneable,
CamelConte
     @UriParam
     private Map<String, ?> cryptoContextProperties;
 
-    @UriParam(defaultValue = "Boolean.TRUE")
+    @UriParam(defaultValue = "true")
     private Boolean disallowDoctypeDecl = Boolean.TRUE;
 
-    @UriParam(defaultValue = "Boolean.FALSE")
+    @UriParam(defaultValue = "false")
     private Boolean omitXmlDeclaration = Boolean.FALSE;
 
     @UriParam(defaultValue = "true")

http://git-wip-us.apache.org/repos/asf/camel/blob/bd08b83f/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
index 50bfaab..3872349 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
@@ -111,7 +111,7 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
      * value can be overwritten by the header
      * {@link XmlSignatureConstants#HEADER_MESSAGE_IS_PLAIN_TEXT}.
      */
-    @UriParam(defaultValue = "Boolean.FALSE")
+    @UriParam(defaultValue = "false")
     private Boolean plainText = Boolean.FALSE;
 
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/bd08b83f/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlVerifierConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlVerifierConfiguration.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlVerifierConfiguration.java
index f6fdde1..3139ddf 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlVerifierConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlVerifierConfiguration.java
@@ -59,10 +59,10 @@ public class XmlVerifierConfiguration extends XmlSignatureConfiguration
{
     @UriParam(defaultValue = DefaultXmlSignature2Message.OUTPUT_NODE_SEARCH_TYPE_DEFAULT)
     private String outputNodeSearchType = DefaultXmlSignature2Message.OUTPUT_NODE_SEARCH_TYPE_DEFAULT;
 
-    @UriParam(defaultValue = "Boolean.FALSE")
+    @UriParam(defaultValue = "false")
     private Boolean removeSignatureElements = Boolean.FALSE;
 
-    @UriParam(defaultValue = "Boolean.TRUE")
+    @UriParam(defaultValue = "true")
     private Boolean secureValidation = Boolean.TRUE;
 
     public XmlVerifierConfiguration() {


Mime
View raw message