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 2015/12/14 11:00:19 UTC

[3/3] camel git commit: small typo correction

small typo correction


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

Branch: refs/heads/master
Commit: 0890e8f285bc12012243ceb8a44428727be059eb
Parents: 57b85fa
Author: gautric <ga...@redhat.com>
Authored: Mon Dec 14 10:57:46 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Dec 14 10:59:33 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/paho/PahoConstants.java | 2 --
 .../main/java/org/apache/camel/component/paho/PahoEndpoint.java  | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0890e8f2/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoConstants.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoConstants.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoConstants.java
index 9e45ae5..453e6bc 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoConstants.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoConstants.java
@@ -27,8 +27,6 @@ public final class PahoConstants {
     public static final String MQTT_TOPIC = "CamelMqttTopic";
     public static final String DEFAULT_BROKER_URL = "tcp://localhost:1883";
     public static final int DEFAULT_QOS = 2;
-    public static final String DEFAULT_QOS_STRING = DEFAULT_QOS + "";
-    public static final String DEFAULT_RETAINED_STRING = "false";
 
     @Deprecated
     public static final String HEADER_ORIGINAL_MESSAGE = "PahoOriginalMessage";

http://git-wip-us.apache.org/repos/asf/camel/blob/0890e8f2/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
index c329c28..09665e1 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
@@ -52,9 +52,9 @@ public class PahoEndpoint extends DefaultEndpoint {
     private String clientId = "camel-" + System.nanoTime();
     @UriParam(defaultValue = PahoConstants.DEFAULT_BROKER_URL)
     private String brokerUrl = PahoConstants.DEFAULT_BROKER_URL;
-    @UriParam(defaultValue = PahoConstants.DEFAULT_QOS_STRING)
+    @UriParam(defaultValue = "2")
     private int qos = PahoConstants.DEFAULT_QOS;
-    @UriParam(defaultValue = PahoConstants.DEFAULT_RETAINED_STRING)
+    @UriParam(defaultValue = "false")
     private boolean retained;
     @UriParam(defaultValue = "MEMORY")
     private PahoPersistence persistence = PahoPersistence.MEMORY;