activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [2/3] activemq-cpp git commit: Clean up a number of warnings that are showing up on the Mac compiler suite.
Date Tue, 04 Aug 2015 20:16:10 GMT
http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/Message.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/Message.h b/activemq-cpp/src/main/activemq/commands/Message.h
index bcf4c66..bc5de7f 100644
--- a/activemq-cpp/src/main/activemq/commands/Message.h
+++ b/activemq-cpp/src/main/activemq/commands/Message.h
@@ -274,110 +274,110 @@ namespace commands{
 
         virtual const Pointer<ProducerId>& getProducerId() const;
         virtual Pointer<ProducerId>& getProducerId();
-        virtual void setProducerId( const Pointer<ProducerId>& producerId );
+        virtual void setProducerId(const Pointer<ProducerId>& producerId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual const Pointer<TransactionId>& getTransactionId() const;
         virtual Pointer<TransactionId>& getTransactionId();
-        virtual void setTransactionId( const Pointer<TransactionId>& transactionId );
+        virtual void setTransactionId(const Pointer<TransactionId>& transactionId);
 
         virtual const Pointer<ActiveMQDestination>& getOriginalDestination() const;
         virtual Pointer<ActiveMQDestination>& getOriginalDestination();
-        virtual void setOriginalDestination( const Pointer<ActiveMQDestination>& originalDestination );
+        virtual void setOriginalDestination(const Pointer<ActiveMQDestination>& originalDestination);
 
         virtual const Pointer<MessageId>& getMessageId() const;
         virtual Pointer<MessageId>& getMessageId();
-        virtual void setMessageId( const Pointer<MessageId>& messageId );
+        virtual void setMessageId(const Pointer<MessageId>& messageId);
 
         virtual const Pointer<TransactionId>& getOriginalTransactionId() const;
         virtual Pointer<TransactionId>& getOriginalTransactionId();
-        virtual void setOriginalTransactionId( const Pointer<TransactionId>& originalTransactionId );
+        virtual void setOriginalTransactionId(const Pointer<TransactionId>& originalTransactionId);
 
         virtual const std::string& getGroupID() const;
         virtual std::string& getGroupID();
-        virtual void setGroupID( const std::string& groupID );
+        virtual void setGroupID(const std::string& groupID);
 
         virtual int getGroupSequence() const;
-        virtual void setGroupSequence( int groupSequence );
+        virtual void setGroupSequence(int groupSequence);
 
         virtual const std::string& getCorrelationId() const;
         virtual std::string& getCorrelationId();
-        virtual void setCorrelationId( const std::string& correlationId );
+        virtual void setCorrelationId(const std::string& correlationId);
 
         virtual bool isPersistent() const;
-        virtual void setPersistent( bool persistent );
+        virtual void setPersistent(bool persistent);
 
         virtual long long getExpiration() const;
-        virtual void setExpiration( long long expiration );
+        virtual void setExpiration(long long expiration);
 
         virtual unsigned char getPriority() const;
-        virtual void setPriority( unsigned char priority );
+        virtual void setPriority(unsigned char priority);
 
         virtual const Pointer<ActiveMQDestination>& getReplyTo() const;
         virtual Pointer<ActiveMQDestination>& getReplyTo();
-        virtual void setReplyTo( const Pointer<ActiveMQDestination>& replyTo );
+        virtual void setReplyTo(const Pointer<ActiveMQDestination>& replyTo);
 
         virtual long long getTimestamp() const;
-        virtual void setTimestamp( long long timestamp );
+        virtual void setTimestamp(long long timestamp);
 
         virtual const std::string& getType() const;
         virtual std::string& getType();
-        virtual void setType( const std::string& type );
+        virtual void setType(const std::string& type);
 
         virtual const std::vector<unsigned char>& getContent() const;
         virtual std::vector<unsigned char>& getContent();
-        virtual void setContent( const std::vector<unsigned char>& content );
+        virtual void setContent(const std::vector<unsigned char>& content);
 
         virtual const std::vector<unsigned char>& getMarshalledProperties() const;
         virtual std::vector<unsigned char>& getMarshalledProperties();
-        virtual void setMarshalledProperties( const std::vector<unsigned char>& marshalledProperties );
+        virtual void setMarshalledProperties(const std::vector<unsigned char>& marshalledProperties);
 
         virtual const Pointer<DataStructure>& getDataStructure() const;
         virtual Pointer<DataStructure>& getDataStructure();
-        virtual void setDataStructure( const Pointer<DataStructure>& dataStructure );
+        virtual void setDataStructure(const Pointer<DataStructure>& dataStructure);
 
         virtual const Pointer<ConsumerId>& getTargetConsumerId() const;
         virtual Pointer<ConsumerId>& getTargetConsumerId();
-        virtual void setTargetConsumerId( const Pointer<ConsumerId>& targetConsumerId );
+        virtual void setTargetConsumerId(const Pointer<ConsumerId>& targetConsumerId);
 
         virtual bool isCompressed() const;
-        virtual void setCompressed( bool compressed );
+        virtual void setCompressed(bool compressed);
 
         virtual int getRedeliveryCounter() const;
-        virtual void setRedeliveryCounter( int redeliveryCounter );
+        virtual void setRedeliveryCounter(int redeliveryCounter);
 
         virtual const std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath() const;
         virtual std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath();
-        virtual void setBrokerPath( const std::vector< decaf::lang::Pointer<BrokerId> >& brokerPath );
+        virtual void setBrokerPath(const std::vector< decaf::lang::Pointer<BrokerId> >& brokerPath);
 
         virtual long long getArrival() const;
-        virtual void setArrival( long long arrival );
+        virtual void setArrival(long long arrival);
 
         virtual const std::string& getUserID() const;
         virtual std::string& getUserID();
-        virtual void setUserID( const std::string& userID );
+        virtual void setUserID(const std::string& userID);
 
         virtual bool isRecievedByDFBridge() const;
-        virtual void setRecievedByDFBridge( bool recievedByDFBridge );
+        virtual void setRecievedByDFBridge(bool recievedByDFBridge);
 
         virtual bool isDroppable() const;
-        virtual void setDroppable( bool droppable );
+        virtual void setDroppable(bool droppable);
 
         virtual const std::vector< decaf::lang::Pointer<BrokerId> >& getCluster() const;
         virtual std::vector< decaf::lang::Pointer<BrokerId> >& getCluster();
-        virtual void setCluster( const std::vector< decaf::lang::Pointer<BrokerId> >& cluster );
+        virtual void setCluster(const std::vector< decaf::lang::Pointer<BrokerId> >& cluster);
 
         virtual long long getBrokerInTime() const;
-        virtual void setBrokerInTime( long long brokerInTime );
+        virtual void setBrokerInTime(long long brokerInTime);
 
         virtual long long getBrokerOutTime() const;
-        virtual void setBrokerOutTime( long long brokerOutTime );
+        virtual void setBrokerOutTime(long long brokerOutTime);
 
         virtual bool isJMSXGroupFirstForConsumer() const;
-        virtual void setJMSXGroupFirstForConsumer( bool jMSXGroupFirstForConsumer );
+        virtual void setJMSXGroupFirstForConsumer(bool jMSXGroupFirstForConsumer);
 
         /**
          * @return an answer of true to the isMessage() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageAck.cpp b/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
index 71737ec..f356cca 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
+++ b/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
@@ -189,21 +189,21 @@ bool MessageAck::equals(const DataStructure* value) const {
     }
 
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
         return false;
     }
     if (this->getTransactionId() != NULL) {
-        if (!this->getTransactionId()->equals( valuePtr->getTransactionId().get())) {
+        if (!this->getTransactionId()->equals(valuePtr->getTransactionId().get())) {
             return false;
         }
     } else if (valuePtr->getTransactionId() != NULL) {
         return false;
     }
     if (this->getConsumerId() != NULL) {
-        if (!this->getConsumerId()->equals( valuePtr->getConsumerId().get())) {
+        if (!this->getConsumerId()->equals(valuePtr->getConsumerId().get())) {
             return false;
         }
     } else if (valuePtr->getConsumerId() != NULL) {
@@ -213,14 +213,14 @@ bool MessageAck::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getFirstMessageId() != NULL) {
-        if (!this->getFirstMessageId()->equals( valuePtr->getFirstMessageId().get())) {
+        if (!this->getFirstMessageId()->equals(valuePtr->getFirstMessageId().get())) {
             return false;
         }
     } else if (valuePtr->getFirstMessageId() != NULL) {
         return false;
     }
     if (this->getLastMessageId() != NULL) {
-        if (!this->getLastMessageId()->equals( valuePtr->getLastMessageId().get())) {
+        if (!this->getLastMessageId()->equals(valuePtr->getLastMessageId().get())) {
             return false;
         }
     } else if (valuePtr->getLastMessageId() != NULL) {
@@ -230,7 +230,7 @@ bool MessageAck::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getPoisonCause() != NULL) {
-        if (!this->getPoisonCause()->equals( valuePtr->getPoisonCause().get())) {
+        if (!this->getPoisonCause()->equals(valuePtr->getPoisonCause().get())) {
             return false;
         }
     } else if (valuePtr->getPoisonCause() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageAck.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageAck.h b/activemq-cpp/src/main/activemq/commands/MessageAck.h
index aacb950..9b78f2b 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageAck.h
+++ b/activemq-cpp/src/main/activemq/commands/MessageAck.h
@@ -107,33 +107,33 @@ namespace commands {
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual const Pointer<TransactionId>& getTransactionId() const;
         virtual Pointer<TransactionId>& getTransactionId();
-        virtual void setTransactionId( const Pointer<TransactionId>& transactionId );
+        virtual void setTransactionId(const Pointer<TransactionId>& transactionId);
 
         virtual const Pointer<ConsumerId>& getConsumerId() const;
         virtual Pointer<ConsumerId>& getConsumerId();
-        virtual void setConsumerId( const Pointer<ConsumerId>& consumerId );
+        virtual void setConsumerId(const Pointer<ConsumerId>& consumerId);
 
         virtual unsigned char getAckType() const;
-        virtual void setAckType( unsigned char ackType );
+        virtual void setAckType(unsigned char ackType);
 
         virtual const Pointer<MessageId>& getFirstMessageId() const;
         virtual Pointer<MessageId>& getFirstMessageId();
-        virtual void setFirstMessageId( const Pointer<MessageId>& firstMessageId );
+        virtual void setFirstMessageId(const Pointer<MessageId>& firstMessageId);
 
         virtual const Pointer<MessageId>& getLastMessageId() const;
         virtual Pointer<MessageId>& getLastMessageId();
-        virtual void setLastMessageId( const Pointer<MessageId>& lastMessageId );
+        virtual void setLastMessageId(const Pointer<MessageId>& lastMessageId);
 
         virtual int getMessageCount() const;
-        virtual void setMessageCount( int messageCount );
+        virtual void setMessageCount(int messageCount);
 
         virtual const Pointer<BrokerError>& getPoisonCause() const;
         virtual Pointer<BrokerError>& getPoisonCause();
-        virtual void setPoisonCause( const Pointer<BrokerError>& poisonCause );
+        virtual void setPoisonCause(const Pointer<BrokerError>& poisonCause);
 
         /**
          * @return an answer of true to the isMessageAck() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp b/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
index eedab05..ab812f6 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
+++ b/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
@@ -137,21 +137,21 @@ bool MessageDispatch::equals(const DataStructure* value) const {
     }
 
     if (this->getConsumerId() != NULL) {
-        if (!this->getConsumerId()->equals( valuePtr->getConsumerId().get())) {
+        if (!this->getConsumerId()->equals(valuePtr->getConsumerId().get())) {
             return false;
         }
     } else if (valuePtr->getConsumerId() != NULL) {
         return false;
     }
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
         return false;
     }
     if (this->getMessage() != NULL) {
-        if (!this->getMessage()->equals( valuePtr->getMessage().get())) {
+        if (!this->getMessage()->equals(valuePtr->getMessage().get())) {
             return false;
         }
     } else if (valuePtr->getMessage() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageDispatch.h b/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
index a4af8f4..cb10dd2 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
+++ b/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
@@ -90,18 +90,18 @@ namespace commands {
 
         virtual const Pointer<ConsumerId>& getConsumerId() const;
         virtual Pointer<ConsumerId>& getConsumerId();
-        virtual void setConsumerId( const Pointer<ConsumerId>& consumerId );
+        virtual void setConsumerId(const Pointer<ConsumerId>& consumerId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual const Pointer<Message>& getMessage() const;
         virtual Pointer<Message>& getMessage();
-        virtual void setMessage( const Pointer<Message>& message );
+        virtual void setMessage(const Pointer<Message>& message);
 
         virtual int getRedeliveryCounter() const;
-        virtual void setRedeliveryCounter( int redeliveryCounter );
+        virtual void setRedeliveryCounter(int redeliveryCounter);
 
         /**
          * @return an answer of true to the isMessageDispatch() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp b/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
index 25c4c9f..a1b56f4 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
+++ b/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
@@ -137,14 +137,14 @@ bool MessageDispatchNotification::equals(const DataStructure* value) const {
     }
 
     if (this->getConsumerId() != NULL) {
-        if (!this->getConsumerId()->equals( valuePtr->getConsumerId().get())) {
+        if (!this->getConsumerId()->equals(valuePtr->getConsumerId().get())) {
             return false;
         }
     } else if (valuePtr->getConsumerId() != NULL) {
         return false;
     }
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
@@ -154,7 +154,7 @@ bool MessageDispatchNotification::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getMessageId() != NULL) {
-        if (!this->getMessageId()->equals( valuePtr->getMessageId().get())) {
+        if (!this->getMessageId()->equals(valuePtr->getMessageId().get())) {
             return false;
         }
     } else if (valuePtr->getMessageId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h b/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
index 4ece515..caf6cb2 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
+++ b/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
@@ -81,18 +81,18 @@ namespace commands {
 
         virtual const Pointer<ConsumerId>& getConsumerId() const;
         virtual Pointer<ConsumerId>& getConsumerId();
-        virtual void setConsumerId( const Pointer<ConsumerId>& consumerId );
+        virtual void setConsumerId(const Pointer<ConsumerId>& consumerId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual long long getDeliverySequenceId() const;
-        virtual void setDeliverySequenceId( long long deliverySequenceId );
+        virtual void setDeliverySequenceId(long long deliverySequenceId);
 
         virtual const Pointer<MessageId>& getMessageId() const;
         virtual Pointer<MessageId>& getMessageId();
-        virtual void setMessageId( const Pointer<MessageId>& messageId );
+        virtual void setMessageId(const Pointer<MessageId>& messageId);
 
         /**
          * @return an answer of true to the isMessageDispatchNotification() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageId.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageId.cpp b/activemq-cpp/src/main/activemq/commands/MessageId.cpp
index c674c01..8d4d5f5 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageId.cpp
+++ b/activemq-cpp/src/main/activemq/commands/MessageId.cpp
@@ -166,7 +166,7 @@ bool MessageId::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getProducerId() != NULL) {
-        if (!this->getProducerId()->equals( valuePtr->getProducerId().get())) {
+        if (!this->getProducerId()->equals(valuePtr->getProducerId().get())) {
             return false;
         }
     } else if (valuePtr->getProducerId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessageId.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessageId.h b/activemq-cpp/src/main/activemq/commands/MessageId.h
index 51e41fb..1dd93ff 100644
--- a/activemq-cpp/src/main/activemq/commands/MessageId.h
+++ b/activemq-cpp/src/main/activemq/commands/MessageId.h
@@ -94,17 +94,17 @@ namespace commands {
 
         virtual const std::string& getTextView() const;
         virtual std::string& getTextView();
-        virtual void setTextView( const std::string& textView );
+        virtual void setTextView(const std::string& textView);
 
         virtual const Pointer<ProducerId>& getProducerId() const;
         virtual Pointer<ProducerId>& getProducerId();
-        virtual void setProducerId( const Pointer<ProducerId>& producerId );
+        virtual void setProducerId(const Pointer<ProducerId>& producerId);
 
         virtual long long getProducerSequenceId() const;
-        virtual void setProducerSequenceId( long long producerSequenceId );
+        virtual void setProducerSequenceId(long long producerSequenceId);
 
         virtual long long getBrokerSequenceId() const;
-        virtual void setBrokerSequenceId( long long brokerSequenceId );
+        virtual void setBrokerSequenceId(long long brokerSequenceId);
 
         virtual int compareTo(const MessageId& value) const;
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessagePull.cpp b/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
index e4d7301..6ac23aa 100644
--- a/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
+++ b/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
@@ -140,14 +140,14 @@ bool MessagePull::equals(const DataStructure* value) const {
     }
 
     if (this->getConsumerId() != NULL) {
-        if (!this->getConsumerId()->equals( valuePtr->getConsumerId().get())) {
+        if (!this->getConsumerId()->equals(valuePtr->getConsumerId().get())) {
             return false;
         }
     } else if (valuePtr->getConsumerId() != NULL) {
         return false;
     }
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
@@ -160,7 +160,7 @@ bool MessagePull::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getMessageId() != NULL) {
-        if (!this->getMessageId()->equals( valuePtr->getMessageId().get())) {
+        if (!this->getMessageId()->equals(valuePtr->getMessageId().get())) {
             return false;
         }
     } else if (valuePtr->getMessageId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/MessagePull.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/MessagePull.h b/activemq-cpp/src/main/activemq/commands/MessagePull.h
index 1e93f41..f85a4a9 100644
--- a/activemq-cpp/src/main/activemq/commands/MessagePull.h
+++ b/activemq-cpp/src/main/activemq/commands/MessagePull.h
@@ -82,22 +82,22 @@ namespace commands {
 
         virtual const Pointer<ConsumerId>& getConsumerId() const;
         virtual Pointer<ConsumerId>& getConsumerId();
-        virtual void setConsumerId( const Pointer<ConsumerId>& consumerId );
+        virtual void setConsumerId(const Pointer<ConsumerId>& consumerId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual long long getTimeout() const;
-        virtual void setTimeout( long long timeout );
+        virtual void setTimeout(long long timeout);
 
         virtual const std::string& getCorrelationId() const;
         virtual std::string& getCorrelationId();
-        virtual void setCorrelationId( const std::string& correlationId );
+        virtual void setCorrelationId(const std::string& correlationId);
 
         virtual const Pointer<MessageId>& getMessageId() const;
         virtual Pointer<MessageId>& getMessageId();
-        virtual void setMessageId( const Pointer<MessageId>& messageId );
+        virtual void setMessageId(const Pointer<MessageId>& messageId);
 
         /**
          * @return an answer of true to the isMessagePull() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp b/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
index 4fe823f..7fe522e 100644
--- a/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
+++ b/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
@@ -121,7 +121,7 @@ bool NetworkBridgeFilter::equals(const DataStructure* value) const {
     }
 
     if (this->getNetworkBrokerId() != NULL) {
-        if (!this->getNetworkBrokerId()->equals( valuePtr->getNetworkBrokerId().get())) {
+        if (!this->getNetworkBrokerId()->equals(valuePtr->getNetworkBrokerId().get())) {
             return false;
         }
     } else if (valuePtr->getNetworkBrokerId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h b/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
index 911a5f6..dbdc101 100644
--- a/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
+++ b/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
@@ -78,13 +78,13 @@ namespace commands {
 
         virtual const Pointer<BrokerId>& getNetworkBrokerId() const;
         virtual Pointer<BrokerId>& getNetworkBrokerId();
-        virtual void setNetworkBrokerId( const Pointer<BrokerId>& networkBrokerId );
+        virtual void setNetworkBrokerId(const Pointer<BrokerId>& networkBrokerId);
 
         virtual int getMessageTTL() const;
-        virtual void setMessageTTL( int messageTTL );
+        virtual void setMessageTTL(int messageTTL);
 
         virtual int getConsumerTTL() const;
-        virtual void setConsumerTTL( int consumerTTL );
+        virtual void setConsumerTTL(int consumerTTL);
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/PartialCommand.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/PartialCommand.h b/activemq-cpp/src/main/activemq/commands/PartialCommand.h
index 4702bb9..9d873f4 100644
--- a/activemq-cpp/src/main/activemq/commands/PartialCommand.h
+++ b/activemq-cpp/src/main/activemq/commands/PartialCommand.h
@@ -75,11 +75,11 @@ namespace commands {
         virtual bool equals(const DataStructure* value) const;
 
         virtual int getCommandId() const;
-        virtual void setCommandId( int commandId );
+        virtual void setCommandId(int commandId);
 
         virtual const std::vector<unsigned char>& getData() const;
         virtual std::vector<unsigned char>& getData();
-        virtual void setData( const std::vector<unsigned char>& data );
+        virtual void setData(const std::vector<unsigned char>& data);
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp b/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
index 8c002f1..a086f23 100644
--- a/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
+++ b/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
@@ -121,7 +121,7 @@ bool ProducerAck::equals(const DataStructure* value) const {
     }
 
     if (this->getProducerId() != NULL) {
-        if (!this->getProducerId()->equals( valuePtr->getProducerId().get())) {
+        if (!this->getProducerId()->equals(valuePtr->getProducerId().get())) {
             return false;
         }
     } else if (valuePtr->getProducerId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ProducerAck.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ProducerAck.h b/activemq-cpp/src/main/activemq/commands/ProducerAck.h
index ce96564..3dd0712 100644
--- a/activemq-cpp/src/main/activemq/commands/ProducerAck.h
+++ b/activemq-cpp/src/main/activemq/commands/ProducerAck.h
@@ -77,10 +77,10 @@ namespace commands {
 
         virtual const Pointer<ProducerId>& getProducerId() const;
         virtual Pointer<ProducerId>& getProducerId();
-        virtual void setProducerId( const Pointer<ProducerId>& producerId );
+        virtual void setProducerId(const Pointer<ProducerId>& producerId);
 
         virtual int getSize() const;
-        virtual void setSize( int size );
+        virtual void setSize(int size);
 
         /**
          * @return an answer of true to the isProducerAck() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ProducerId.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ProducerId.h b/activemq-cpp/src/main/activemq/commands/ProducerId.h
index 59d5c4f..3dbaced 100644
--- a/activemq-cpp/src/main/activemq/commands/ProducerId.h
+++ b/activemq-cpp/src/main/activemq/commands/ProducerId.h
@@ -90,13 +90,13 @@ namespace commands {
 
         virtual const std::string& getConnectionId() const;
         virtual std::string& getConnectionId();
-        virtual void setConnectionId( const std::string& connectionId );
+        virtual void setConnectionId(const std::string& connectionId);
 
         virtual long long getValue() const;
-        virtual void setValue( long long value );
+        virtual void setValue(long long value);
 
         virtual long long getSessionId() const;
-        virtual void setSessionId( long long sessionId );
+        virtual void setSessionId(long long sessionId);
 
         virtual int compareTo(const ProducerId& value) const;
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp b/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
index b606d5b..c839788 100644
--- a/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
@@ -148,14 +148,14 @@ bool ProducerInfo::equals(const DataStructure* value) const {
     }
 
     if (this->getProducerId() != NULL) {
-        if (!this->getProducerId()->equals( valuePtr->getProducerId().get())) {
+        if (!this->getProducerId()->equals(valuePtr->getProducerId().get())) {
             return false;
         }
     } else if (valuePtr->getProducerId() != NULL) {
         return false;
     }
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
@@ -163,7 +163,7 @@ bool ProducerInfo::equals(const DataStructure* value) const {
     }
     for (size_t ibrokerPath = 0; ibrokerPath < this->getBrokerPath().size(); ++ibrokerPath) {
         if (this->getBrokerPath()[ibrokerPath] != NULL ) {
-            if (!this->getBrokerPath()[ibrokerPath]->equals( valuePtr->getBrokerPath()[ibrokerPath].get())) {
+            if (!this->getBrokerPath()[ibrokerPath]->equals(valuePtr->getBrokerPath()[ibrokerPath].get())) {
                 return false;
             }
         } else if (valuePtr->getBrokerPath()[ibrokerPath] != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ProducerInfo.h b/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
index 876f926..4e39616 100644
--- a/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
@@ -85,21 +85,21 @@ namespace commands {
 
         virtual const Pointer<ProducerId>& getProducerId() const;
         virtual Pointer<ProducerId>& getProducerId();
-        virtual void setProducerId( const Pointer<ProducerId>& producerId );
+        virtual void setProducerId(const Pointer<ProducerId>& producerId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual const std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath() const;
         virtual std::vector< decaf::lang::Pointer<BrokerId> >& getBrokerPath();
-        virtual void setBrokerPath( const std::vector< decaf::lang::Pointer<BrokerId> >& brokerPath );
+        virtual void setBrokerPath(const std::vector< decaf::lang::Pointer<BrokerId> >& brokerPath);
 
         virtual bool isDispatchAsync() const;
-        virtual void setDispatchAsync( bool dispatchAsync );
+        virtual void setDispatchAsync(bool dispatchAsync);
 
         virtual int getWindowSize() const;
-        virtual void setWindowSize( int windowSize );
+        virtual void setWindowSize(int windowSize);
 
         /**
          * @return an answer of true to the isProducerInfo() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp b/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
index 16a9e49..f40efea 100644
--- a/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
@@ -121,7 +121,7 @@ bool RemoveInfo::equals(const DataStructure* value) const {
     }
 
     if (this->getObjectId() != NULL) {
-        if (!this->getObjectId()->equals( valuePtr->getObjectId().get())) {
+        if (!this->getObjectId()->equals(valuePtr->getObjectId().get())) {
             return false;
         }
     } else if (valuePtr->getObjectId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/RemoveInfo.h b/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
index 3fd4802..9a3c6ce 100644
--- a/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
@@ -77,10 +77,10 @@ namespace commands {
 
         virtual const Pointer<DataStructure>& getObjectId() const;
         virtual Pointer<DataStructure>& getObjectId();
-        virtual void setObjectId( const Pointer<DataStructure>& objectId );
+        virtual void setObjectId(const Pointer<DataStructure>& objectId);
 
         virtual long long getLastDeliveredSequenceId() const;
-        virtual void setLastDeliveredSequenceId( long long lastDeliveredSequenceId );
+        virtual void setLastDeliveredSequenceId(long long lastDeliveredSequenceId);
 
         /**
          * @return an answer of true to the isRemoveInfo() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp b/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
index 1c39f19..2a146a1 100644
--- a/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
@@ -124,7 +124,7 @@ bool RemoveSubscriptionInfo::equals(const DataStructure* value) const {
     }
 
     if (this->getConnectionId() != NULL) {
-        if (!this->getConnectionId()->equals( valuePtr->getConnectionId().get())) {
+        if (!this->getConnectionId()->equals(valuePtr->getConnectionId().get())) {
             return false;
         }
     } else if (valuePtr->getConnectionId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h b/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
index 51f1f53..0db90d3 100644
--- a/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
@@ -78,15 +78,15 @@ namespace commands {
 
         virtual const Pointer<ConnectionId>& getConnectionId() const;
         virtual Pointer<ConnectionId>& getConnectionId();
-        virtual void setConnectionId( const Pointer<ConnectionId>& connectionId );
+        virtual void setConnectionId(const Pointer<ConnectionId>& connectionId);
 
         virtual const std::string& getSubcriptionName() const;
         virtual std::string& getSubcriptionName();
-        virtual void setSubcriptionName( const std::string& subcriptionName );
+        virtual void setSubcriptionName(const std::string& subcriptionName);
 
         virtual const std::string& getClientId() const;
         virtual std::string& getClientId();
-        virtual void setClientId( const std::string& clientId );
+        virtual void setClientId(const std::string& clientId);
 
         /**
          * @return an answer of true to the isRemoveSubscriptionInfo() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ReplayCommand.h b/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
index a5bc441..87c305f 100644
--- a/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
+++ b/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
@@ -75,10 +75,10 @@ namespace commands {
         virtual bool equals(const DataStructure* value) const;
 
         virtual int getFirstNakNumber() const;
-        virtual void setFirstNakNumber( int firstNakNumber );
+        virtual void setFirstNakNumber(int firstNakNumber);
 
         virtual int getLastNakNumber() const;
-        virtual void setLastNakNumber( int lastNakNumber );
+        virtual void setLastNakNumber(int lastNakNumber);
 
         /**
          * @return an answer of true to the isReplayCommand() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/Response.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/Response.h b/activemq-cpp/src/main/activemq/commands/Response.h
index be36018..199bb19 100644
--- a/activemq-cpp/src/main/activemq/commands/Response.h
+++ b/activemq-cpp/src/main/activemq/commands/Response.h
@@ -74,7 +74,7 @@ namespace commands {
         virtual bool equals(const DataStructure* value) const;
 
         virtual int getCorrelationId() const;
-        virtual void setCorrelationId( int correlationId );
+        virtual void setCorrelationId(int correlationId);
 
         /**
          * @return an answer of true to the isResponse() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/SessionId.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/SessionId.h b/activemq-cpp/src/main/activemq/commands/SessionId.h
index 6afe0c9..ff701d1 100644
--- a/activemq-cpp/src/main/activemq/commands/SessionId.h
+++ b/activemq-cpp/src/main/activemq/commands/SessionId.h
@@ -92,10 +92,10 @@ namespace commands {
 
         virtual const std::string& getConnectionId() const;
         virtual std::string& getConnectionId();
-        virtual void setConnectionId( const std::string& connectionId );
+        virtual void setConnectionId(const std::string& connectionId);
 
         virtual long long getValue() const;
-        virtual void setValue( long long value );
+        virtual void setValue(long long value);
 
         virtual int compareTo(const SessionId& value) const;
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp b/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
index 4268479..4a10fb0 100644
--- a/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
@@ -119,7 +119,7 @@ bool SessionInfo::equals(const DataStructure* value) const {
     }
 
     if (this->getSessionId() != NULL) {
-        if (!this->getSessionId()->equals( valuePtr->getSessionId().get())) {
+        if (!this->getSessionId()->equals(valuePtr->getSessionId().get())) {
             return false;
         }
     } else if (valuePtr->getSessionId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/SessionInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/SessionInfo.h b/activemq-cpp/src/main/activemq/commands/SessionInfo.h
index 5ab15b5..5c6134d 100644
--- a/activemq-cpp/src/main/activemq/commands/SessionInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/SessionInfo.h
@@ -92,7 +92,7 @@ namespace commands {
 
         virtual const Pointer<SessionId>& getSessionId() const;
         virtual Pointer<SessionId>& getSessionId();
-        virtual void setSessionId( const Pointer<SessionId>& sessionId );
+        virtual void setSessionId(const Pointer<SessionId>& sessionId);
 
         virtual Pointer<Command> visit(activemq::state::CommandVisitor* visitor);
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp b/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp
index 04cba69..5f23a0f 100644
--- a/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp
@@ -138,7 +138,7 @@ bool SubscriptionInfo::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getDestination() != NULL) {
-        if (!this->getDestination()->equals( valuePtr->getDestination().get())) {
+        if (!this->getDestination()->equals(valuePtr->getDestination().get())) {
             return false;
         }
     } else if (valuePtr->getDestination() != NULL) {
@@ -151,7 +151,7 @@ bool SubscriptionInfo::equals(const DataStructure* value) const {
         return false;
     }
     if (this->getSubscribedDestination() != NULL) {
-        if (!this->getSubscribedDestination()->equals( valuePtr->getSubscribedDestination().get())) {
+        if (!this->getSubscribedDestination()->equals(valuePtr->getSubscribedDestination().get())) {
             return false;
         }
     } else if (valuePtr->getSubscribedDestination() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h b/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
index 65ac8f4..71c8568 100644
--- a/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
@@ -81,26 +81,26 @@ namespace commands {
 
         virtual const std::string& getClientId() const;
         virtual std::string& getClientId();
-        virtual void setClientId( const std::string& clientId );
+        virtual void setClientId(const std::string& clientId);
 
         virtual const Pointer<ActiveMQDestination>& getDestination() const;
         virtual Pointer<ActiveMQDestination>& getDestination();
-        virtual void setDestination( const Pointer<ActiveMQDestination>& destination );
+        virtual void setDestination(const Pointer<ActiveMQDestination>& destination);
 
         virtual const std::string& getSelector() const;
         virtual std::string& getSelector();
-        virtual void setSelector( const std::string& selector );
+        virtual void setSelector(const std::string& selector);
 
         virtual const std::string& getSubcriptionName() const;
         virtual std::string& getSubcriptionName();
-        virtual void setSubcriptionName( const std::string& subcriptionName );
+        virtual void setSubcriptionName(const std::string& subcriptionName);
 
         virtual const Pointer<ActiveMQDestination>& getSubscribedDestination() const;
         virtual Pointer<ActiveMQDestination>& getSubscribedDestination();
-        virtual void setSubscribedDestination( const Pointer<ActiveMQDestination>& subscribedDestination );
+        virtual void setSubscribedDestination(const Pointer<ActiveMQDestination>& subscribedDestination);
 
         virtual bool isNoLocal() const;
-        virtual void setNoLocal( bool noLocal );
+        virtual void setNoLocal(bool noLocal);
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp b/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
index 16b34c9..bb39b4b 100644
--- a/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
+++ b/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
@@ -129,14 +129,14 @@ bool TransactionInfo::equals(const DataStructure* value) const {
     }
 
     if (this->getConnectionId() != NULL) {
-        if (!this->getConnectionId()->equals( valuePtr->getConnectionId().get())) {
+        if (!this->getConnectionId()->equals(valuePtr->getConnectionId().get())) {
             return false;
         }
     } else if (valuePtr->getConnectionId() != NULL) {
         return false;
     }
     if (this->getTransactionId() != NULL) {
-        if (!this->getTransactionId()->equals( valuePtr->getTransactionId().get())) {
+        if (!this->getTransactionId()->equals(valuePtr->getTransactionId().get())) {
             return false;
         }
     } else if (valuePtr->getTransactionId() != NULL) {

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/TransactionInfo.h b/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
index e35836c..808f1da 100644
--- a/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
+++ b/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
@@ -79,14 +79,14 @@ namespace commands {
 
         virtual const Pointer<ConnectionId>& getConnectionId() const;
         virtual Pointer<ConnectionId>& getConnectionId();
-        virtual void setConnectionId( const Pointer<ConnectionId>& connectionId );
+        virtual void setConnectionId(const Pointer<ConnectionId>& connectionId);
 
         virtual const Pointer<TransactionId>& getTransactionId() const;
         virtual Pointer<TransactionId>& getTransactionId();
-        virtual void setTransactionId( const Pointer<TransactionId>& transactionId );
+        virtual void setTransactionId(const Pointer<TransactionId>& transactionId);
 
         virtual unsigned char getType() const;
-        virtual void setType( unsigned char type );
+        virtual void setType(unsigned char type);
 
         /**
          * @return an answer of true to the isTransactionInfo() query.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/commands/XATransactionId.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/XATransactionId.h b/activemq-cpp/src/main/activemq/commands/XATransactionId.h
index 6a7d1f8..57d4b9e 100644
--- a/activemq-cpp/src/main/activemq/commands/XATransactionId.h
+++ b/activemq-cpp/src/main/activemq/commands/XATransactionId.h
@@ -48,6 +48,13 @@ namespace commands {
     class AMQCPP_API XATransactionId : public TransactionId, public cms::Xid, public decaf::lang::Comparable<XATransactionId> {
     protected:
 
+        using TransactionId::compareTo;
+        using TransactionId::equals;
+        using TransactionId::operator <;
+        using TransactionId::operator==;
+
+    protected:
+
         int formatId;
         std::vector<unsigned char> globalTransactionId;
         std::vector<unsigned char> branchQualifier;
@@ -93,15 +100,15 @@ namespace commands {
         virtual int getGlobalTransactionId(unsigned char* buffer, int size) const;
 
         virtual int getFormatId() const;
-        virtual void setFormatId( int formatId );
+        virtual void setFormatId(int formatId);
 
         virtual const std::vector<unsigned char>& getGlobalTransactionId() const;
         virtual std::vector<unsigned char>& getGlobalTransactionId();
-        virtual void setGlobalTransactionId( const std::vector<unsigned char>& globalTransactionId );
+        virtual void setGlobalTransactionId(const std::vector<unsigned char>& globalTransactionId);
 
         virtual const std::vector<unsigned char>& getBranchQualifier() const;
         virtual std::vector<unsigned char>& getBranchQualifier();
-        virtual void setBranchQualifier( const std::vector<unsigned char>& branchQualifier );
+        virtual void setBranchQualifier(const std::vector<unsigned char>& branchQualifier);
 
         virtual int compareTo(const XATransactionId& value) const;
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/core/ActiveMQXAConnection.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/core/ActiveMQXAConnection.h b/activemq-cpp/src/main/activemq/core/ActiveMQXAConnection.h
index d682b9b..8520173 100644
--- a/activemq-cpp/src/main/activemq/core/ActiveMQXAConnection.h
+++ b/activemq-cpp/src/main/activemq/core/ActiveMQXAConnection.h
@@ -45,6 +45,10 @@ namespace core {
 
         virtual cms::Session* createSession(cms::Session::AcknowledgeMode ackMode);
 
+    public:
+
+        using ActiveMQConnection::createSession;
+
     };
 
 }}

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/activemq/transport/discovery/http/HttpDiscoveryAgentFactory.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/transport/discovery/http/HttpDiscoveryAgentFactory.cpp b/activemq-cpp/src/main/activemq/transport/discovery/http/HttpDiscoveryAgentFactory.cpp
index 865cf82..2900e28 100644
--- a/activemq-cpp/src/main/activemq/transport/discovery/http/HttpDiscoveryAgentFactory.cpp
+++ b/activemq-cpp/src/main/activemq/transport/discovery/http/HttpDiscoveryAgentFactory.cpp
@@ -40,7 +40,7 @@ Pointer<AbstractDiscoveryAgent> HttpDiscoveryAgentFactory::doCreateAgent() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void HttpDiscoveryAgentFactory::doConfigureAgent(Pointer<AbstractDiscoveryAgent> agent, const Properties& options) {
+void HttpDiscoveryAgentFactory::doConfigureAgent(Pointer<AbstractDiscoveryAgent> agent AMQCPP_UNUSED, const Properties& options AMQCPP_UNUSED) {
 
     try {
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h b/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
index 96e59f3..b5b3860 100644
--- a/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
+++ b/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
@@ -74,8 +74,7 @@ namespace openssl {
 
         virtual ~OpenSSLSocket();
 
-    public:
-        // Socket Overrides.
+    public: // Socket Overrides.
 
         /**
          * {@inheritDoc}
@@ -249,6 +248,10 @@ namespace openssl {
         // its really valid.
         void verifyServerCert(const std::string& serverName);
 
+    public:
+
+        using decaf::net::Socket::connect;
+
     };
 
 }}}}}

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/net/Socket.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/net/Socket.h b/activemq-cpp/src/main/decaf/net/Socket.h
index aad7052..5b47f03 100644
--- a/activemq-cpp/src/main/decaf/net/Socket.h
+++ b/activemq-cpp/src/main/decaf/net/Socket.h
@@ -205,7 +205,7 @@ namespace net{
          * @throws IOException Thrown if a failure occurred in the connect.
          * @throws IllegalArguementException if the timeout value is negative or the endpoint is invalid.
          */
-        virtual void connect( const std::string& host, int port );
+        virtual void connect(const std::string& host, int port);
 
         /**
          * Connects to the specified destination, with a specified timeout value.  If a connection
@@ -224,7 +224,7 @@ namespace net{
          * @throws SocketTimeoutException if the timeout for connection is exceeded.
          * @throws IllegalArguementException if the timeout value is negative or the endpoint is invalid.
          */
-        virtual void connect( const std::string& host, int port, int timeout );
+        virtual void connect(const std::string& host, int port, int timeout);
 
         /**
          * Indicates whether or not this socket is connected to am end point.
@@ -359,7 +359,7 @@ namespace net{
          * @throws SocketException if the operation fails.
          * @throws IllegalArgumentException if state is true and timeout is negative.
          */
-        virtual void setSoLinger( bool state, int timeout );
+        virtual void setSoLinger(bool state, int timeout);
 
         /**
          * Gets the keep alive flag for this socket, SO_KEEPALIVE.
@@ -378,7 +378,7 @@ namespace net{
          *
          * @throws SocketException if the operation fails.
          */
-        virtual void setKeepAlive( bool keepAlive );
+        virtual void setKeepAlive(bool keepAlive);
 
         /**
          * Gets the receive buffer size for this socket, SO_RCVBUF.  This is the buffer used
@@ -399,7 +399,7 @@ namespace net{
          * @throws SocketException if the operation fails.
          * @throws IllegalArgumentException if the value is zero or negative.
          */
-        virtual void setReceiveBufferSize( int size );
+        virtual void setReceiveBufferSize(int size);
 
         /**
          * Gets the reuse address flag, SO_REUSEADDR.
@@ -418,7 +418,7 @@ namespace net{
          *
          * @throws SocketException if the operation fails.
          */
-        virtual void setReuseAddress( bool reuse );
+        virtual void setReuseAddress(bool reuse);
 
         /**
          * Gets the send buffer size for this socket, SO_SNDBUF, this value is used by the platform
@@ -440,7 +440,7 @@ namespace net{
          * @throws SocketException if the operation fails.
          * @throws IllegalArgumentException if the value is zero or negative.
          */
-        virtual void setSendBufferSize( int size );
+        virtual void setSendBufferSize(int size);
 
         /**
          * Gets the timeout for socket operations, SO_TIMEOUT.
@@ -461,7 +461,7 @@ namespace net{
          * @throws SocketException Thrown if unable to set the information.
          * @throws IllegalArgumentException if the timeout value is negative.
          */
-        virtual void setSoTimeout( int timeout );
+        virtual void setSoTimeout(int timeout);
 
         /**
          * Gets the Status of the TCP_NODELAY setting for this socket.
@@ -481,7 +481,7 @@ namespace net{
          *
          * @throws SocketException Thrown if unable to set the information.
          */
-        virtual void setTcpNoDelay( bool value );
+        virtual void setTcpNoDelay(bool value);
 
         /**
          * Gets the Traffic Class setting for this Socket, sometimes referred to as Type of
@@ -509,7 +509,7 @@ namespace net{
          * @throws SocketException if an error is encountered while performing this operation.
          * @throws IllegalArgumentException if the value is not in the range [0..255].
          */
-        virtual void setTrafficClass( int value );
+        virtual void setTrafficClass(int value);
 
         /**
          * Gets the value of the OOBINLINE for this socket.
@@ -528,7 +528,7 @@ namespace net{
          *
          * @throws SocketException if an error is encountered while performing this operation.
          */
-        virtual void setOOBInline( bool value );
+        virtual void setOOBInline(bool value);
 
         /**
          * Sends on byte of urgent data to the Socket.
@@ -538,7 +538,7 @@ namespace net{
          *
          * @throws IOException if an I/O error occurs while performing this operation.
          */
-        virtual void sendUrgentData( int data );
+        virtual void sendUrgentData(int data);
 
         /**
          * @returns a string representing this Socket.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/net/SocketFactory.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/net/SocketFactory.h b/activemq-cpp/src/main/decaf/net/SocketFactory.h
index df85f97..b65c9a3 100644
--- a/activemq-cpp/src/main/decaf/net/SocketFactory.h
+++ b/activemq-cpp/src/main/decaf/net/SocketFactory.h
@@ -77,7 +77,7 @@ namespace net{
          * @throws IOException if an I/O error occurs while creating the Socket object.
          * @throws UnknownHostException if the host name is not known.
          */
-        virtual Socket* createSocket( const InetAddress* host, int port ) = 0;
+        virtual Socket* createSocket(const InetAddress* host, int port) = 0;
 
         /**
          * Creates a new Socket object and connects it to the specified remote host and
@@ -98,8 +98,7 @@ namespace net{
          * @throws IOException if an I/O error occurs while creating the Socket object.
          * @throws UnknownHostException if the host name is not known.
          */
-        virtual Socket* createSocket( const InetAddress* host, int port,
-                                      const InetAddress* ifAddress, int localPort ) = 0;
+        virtual Socket* createSocket(const InetAddress* host, int port, const InetAddress* ifAddress, int localPort) = 0;
 
         /**
          * Creates a new Socket object and connects it to the specified remote host and
@@ -115,7 +114,7 @@ namespace net{
          * @throws IOException if an I/O error occurs while creating the Socket object.
          * @throws UnknownHostException if the host name is not known.
          */
-        virtual Socket* createSocket( const std::string& name, int port ) = 0;
+        virtual Socket* createSocket(const std::string& name, int port) = 0;
 
         /**
          * Creates a new Socket object and connects it to the specified remote host and
@@ -135,8 +134,7 @@ namespace net{
          * @throws IOException if an I/O error occurs while creating the Socket object.
          * @throws UnknownHostException if the host name is not known.
          */
-        virtual Socket* createSocket( const std::string& name, int port,
-                                      const InetAddress* ifAddress, int localPort ) = 0;
+        virtual Socket* createSocket(const std::string& name, int port, const InetAddress* ifAddress, int localPort) = 0;
 
         /**
          * Returns an pointer to the default SocketFactory for this Application, there is only one

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/net/ssl/SSLSocketFactory.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/net/ssl/SSLSocketFactory.h b/activemq-cpp/src/main/decaf/net/ssl/SSLSocketFactory.h
index 8591a0b..c9a741b 100644
--- a/activemq-cpp/src/main/decaf/net/ssl/SSLSocketFactory.h
+++ b/activemq-cpp/src/main/decaf/net/ssl/SSLSocketFactory.h
@@ -104,7 +104,11 @@ namespace ssl {
          * @throws IOException if an I/O exception occurs while performing this operation.
          * @throws UnknownHostException if the host is unknown.
          */
-        virtual Socket* createSocket( Socket* socket, std::string host, int port, bool autoClose ) = 0;
+        virtual Socket* createSocket(Socket* socket, std::string host, int port, bool autoClose) = 0;
+
+    public:
+
+        using SocketFactory::createSocket;
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/AbstractSet.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/AbstractSet.h b/activemq-cpp/src/main/decaf/util/AbstractSet.h
index e90024a..9976243 100644
--- a/activemq-cpp/src/main/decaf/util/AbstractSet.h
+++ b/activemq-cpp/src/main/decaf/util/AbstractSet.h
@@ -47,6 +47,8 @@ namespace util {
                         public virtual decaf::util::AbstractCollection<E> {
     public:
 
+        AbstractSet() : AbstractCollection<E>() {}
+
         virtual ~AbstractSet() {}
 
         /**

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/HashMap.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/HashMap.h b/activemq-cpp/src/main/decaf/util/HashMap.h
index db6d152..7183b17 100644
--- a/activemq-cpp/src/main/decaf/util/HashMap.h
+++ b/activemq-cpp/src/main/decaf/util/HashMap.h
@@ -490,7 +490,7 @@ namespace util {
                 return false;
             }
 
-            virtual bool contains(const MapEntry<K,V>& entry) {
+            virtual bool contains(const MapEntry<K,V>& entry) const {
                 HashMapEntry* result = associatedMap->getEntry(entry.getKey());
                 if (result != NULL && entry.getValue() == result->getValue()) {
                     return true;
@@ -539,7 +539,7 @@ namespace util {
                         __FILE__, __LINE__, "Can't remove from const collection");
             }
 
-            virtual bool contains(const MapEntry<K,V>& entry) {
+            virtual bool contains(const MapEntry<K,V>& entry) const {
                 HashMapEntry* result = associatedMap->getEntry(entry.getKey());
                 if (result != NULL && entry.getValue() == result->getValue()) {
                     return true;

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/HashSet.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/HashSet.h b/activemq-cpp/src/main/decaf/util/HashSet.h
index 163b22c..728f376 100644
--- a/activemq-cpp/src/main/decaf/util/HashSet.h
+++ b/activemq-cpp/src/main/decaf/util/HashSet.h
@@ -131,7 +131,7 @@ namespace util {
          * @param collection
          *      The collection of elements to add to this HashSet.
          */
-        HashSet(const HashSet& collection) : AbstractSet<E>(), backingMap() {
+        HashSet(const HashSet<E>& collection) : AbstractCollection<E>(), AbstractSet<E>(), backingMap() {
 
             this->backingMap = new HashMap<E, Set<E>*, HASHCODE>(
                 (collection.size() < 6 ? 11 : collection.size() * 2));

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/LinkedHashMap.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/LinkedHashMap.h b/activemq-cpp/src/main/decaf/util/LinkedHashMap.h
index d9cc447..c1e8e4a 100644
--- a/activemq-cpp/src/main/decaf/util/LinkedHashMap.h
+++ b/activemq-cpp/src/main/decaf/util/LinkedHashMap.h
@@ -539,6 +539,8 @@ namespace util {
 
             virtual ~ConstLinkedHashMapKeySet() {}
 
+            using HashMap<K, V, HASHCODE>::ConstHashMapKeySet::iterator;
+
             virtual Iterator<K>* iterator() const {
                 return new ConstKeyIterator(this->associatedMap);
             }
@@ -594,6 +596,8 @@ namespace util {
             virtual Iterator<V>* iterator() const {
                 return new ConstValueIterator(this->associatedMap);
             }
+
+            using HashMap<K, V, HASHCODE>::ConstHashMapValueCollection::iterator;
         };
 
     public:

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h b/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h
index 37f79e2..b837cd4 100644
--- a/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h
+++ b/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h
@@ -129,6 +129,10 @@ namespace concurrent {
          */
         virtual V replace( const K& key, const V& value ) = 0;
 
+    public:
+
+        using Map<K, V>::remove;
+
     };
 
 }}}

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/4cbb7aac/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h b/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
index 05fdd91..5d21157 100644
--- a/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
+++ b/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
@@ -31,9 +31,9 @@
 #include <decaf/util/Iterator.h>
 #include <decaf/lang/Pointer.h>
 
-namespace decaf{
-namespace util{
-namespace concurrent{
+namespace decaf {
+namespace util {
+namespace concurrent {
 
     /**
      * Map template that wraps around a std::map to provide a more user-friendly
@@ -419,7 +419,7 @@ namespace concurrent{
                 return false;
             }
 
-            virtual bool contains(const MapEntry<K,V>& entry) {
+            virtual bool contains(const MapEntry<K,V>& entry) const {
                 synchronized(&this->associatedMap->mutex) {
                     if (this->associatedMap->containsKey(entry.getKey()) &&
                         this->associatedMap->get(entry.getKey()) == entry.getValue()) {
@@ -470,7 +470,7 @@ namespace concurrent{
                         __FILE__, __LINE__, "Can't remove from const collection");
             }
 
-            virtual bool contains(const MapEntry<K,V>& entry) {
+            virtual bool contains(const MapEntry<K,V>& entry) const {
                 synchronized(&this->associatedMap->mutex) {
                     if (this->associatedMap->containsKey(entry.getKey()) &&
                         this->associatedMap->get(entry.getKey()) == entry.getValue()) {


Mime
View raw message