camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [3/3] camel git commit: Fixed CS
Date Tue, 06 Sep 2016 06:03:57 GMT
Fixed CS


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

Branch: refs/heads/master
Commit: 7f7ce39d2dd5b4242854d0a923a0aacc7d01a029
Parents: 9c278bb
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Tue Sep 6 08:03:23 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Tue Sep 6 08:03:23 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java | 2 +-
 .../apache/camel/component/rabbitmq/RabbitMQMessageConverter.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7f7ce39d/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java
b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java
index b503326..c5ef6c5 100644
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java
+++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQEndpoint.java
@@ -71,7 +71,7 @@ public class RabbitMQEndpoint extends DefaultEndpoint implements AsyncEndpoint
{
     @UriParam(label = "common", defaultValue = "true")
     private boolean durable = true;
     @UriParam(label = "common", defaultValue = "false")
-    private boolean exclusive = false;
+    private boolean exclusive;
     @UriParam(label = "producer")
     private boolean bridgeEndpoint;
     @UriParam(label = "common")

http://git-wip-us.apache.org/repos/asf/camel/blob/7f7ce39d/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQMessageConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQMessageConverter.java
b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQMessageConverter.java
index b29b3cf..b0d72d9 100644
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQMessageConverter.java
+++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQMessageConverter.java
@@ -180,7 +180,7 @@ public class RabbitMQMessageConverter {
     }
 
     private Date convertTimestamp(Object timestamp) {
-        if(timestamp instanceof Date){
+        if (timestamp instanceof Date) {
             return (Date)timestamp;
         }
         return new Date(Long.parseLong(timestamp.toString()));


Mime
View raw message