activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject [2/2] git commit: minor cleanup
Date Thu, 29 May 2014 14:41:14 GMT
minor cleanup


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

Branch: refs/heads/trunk
Commit: 7bfbce9a54053be1643a805528d9972c4f0ba5b3
Parents: e9126f3
Author: Dejan Bosanac <dejan@nighttale.net>
Authored: Thu May 29 16:40:49 2014 +0200
Committer: Dejan Bosanac <dejan@nighttale.net>
Committed: Thu May 29 16:41:07 2014 +0200

----------------------------------------------------------------------
 .../apache/activemq/transport/amqp/ActiveMQJMSVendor.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/7bfbce9a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ActiveMQJMSVendor.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ActiveMQJMSVendor.java
b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ActiveMQJMSVendor.java
index 200b6c4..59c29e3 100644
--- a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ActiveMQJMSVendor.java
+++ b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ActiveMQJMSVendor.java
@@ -88,16 +88,16 @@ public class ActiveMQJMSVendor extends JMSVendor {
     @Override
     public <T extends Destination> T createDestination(String name, Class<T>
kind) {
         String destinationName = name.substring(name.lastIndexOf("://") + 3);
-        if( kind == Queue.class ) {
+        if (kind == Queue.class) {
             return kind.cast(new ActiveMQQueue(destinationName));
         }
-        if( kind == Topic.class ) {
+        if (kind == Topic.class) {
             return kind.cast(new ActiveMQTopic(destinationName));
         }
-        if( kind == TemporaryQueue.class ) {
+        if (kind == TemporaryQueue.class) {
             return kind.cast(new ActiveMQTempQueue(destinationName));
         }
-        if( kind == TemporaryTopic.class ) {
+        if (kind == TemporaryTopic.class) {
             return kind.cast(new ActiveMQTempTopic(destinationName));
         }
         return kind.cast(ActiveMQDestination.createDestination(name, ActiveMQDestination.QUEUE_TYPE));


Mime
View raw message