From eaed01992efcea43fde36142d55a02a894afd439 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Wed, 13 Aug 2014 09:37:18 -0400 Subject: [PATCH] fix the test builds. --- .../apache/activemq/transport/mqtt/MQTTProtocolConverter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java b/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java index b4d21ce356..d80b10ab8a 100644 --- a/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java +++ b/activemq-mqtt/src/main/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverter.java @@ -86,6 +86,8 @@ public class MQTTProtocolConverter { private static final Logger LOG = LoggerFactory.getLogger(MQTTProtocolConverter.class); + public static final String QOS_PROPERTY_NAME = "ActiveMQ.MQTT.QoS"; + private static final IdGenerator CONNECTION_ID_GENERATOR = new IdGenerator(); private static final MQTTFrame PING_RESP_FRAME = new PINGRESP().encode(); private static final double MQTT_KEEP_ALIVE_GRACE_PERIOD = 0.5; @@ -114,7 +116,6 @@ public class MQTTProtocolConverter { private String clientId; private long defaultKeepAlive; private int activeMQSubscriptionPrefetch = 1; - private static final String QOS_PROPERTY_NAME = "ActiveMQ.MQTT.QoS"; private final MQTTPacketIdGenerator packetIdGenerator; private boolean publishDollarTopics;