Repository: activemq-artemis
Updated Branches:
  refs/heads/ARTEMIS-780 112d13654 -> 1f691be30


Fix checkstyle


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

Branch: refs/heads/ARTEMIS-780
Commit: f575900a0af784845268490a2ca84fdcb13f6223
Parents: 8ab00e0
Author: jbertram <jbert...@apache.com>
Authored: Thu Dec 1 20:47:20 2016 -0600
Committer: jbertram <jbert...@apache.com>
Committed: Thu Dec 1 22:31:39 2016 -0600

----------------------------------------------------------------------
 .../activemq/artemis/jms/client/ActiveMQMessageProducer.java   | 3 +--
 .../apache/activemq/artemis/jms/client/ActiveMQSession.java    | 6 ++----
 2 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f575900a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
----------------------------------------------------------------------
diff --git 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
index b814bc2..4827fd5 100644
--- 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
+++ 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
@@ -424,8 +424,7 @@ public class ActiveMQMessageProducer implements 
MessageProducer, QueueSender, To
                }
             } catch (ActiveMQQueueExistsException e) {
                // The queue was created by another client/admin between the 
query check and send create queue packet
-            }
-            catch (ActiveMQException e) {
+            } catch (ActiveMQException e) {
                throw JMSExceptionHelper.convertFromActiveMQException(e);
             }
          }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f575900a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
----------------------------------------------------------------------
diff --git 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
index a25215e..b85ff21 100644
--- 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
+++ 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java
@@ -311,8 +311,7 @@ public class ActiveMQSession implements QueueSession, 
TopicSession {
                   } else {
                      throw new InvalidDestinationException("Destination " + 
jbd.getName() + " does not exist");
                   }
-               }
-               catch (ActiveMQQueueExistsException e) {
+               } catch (ActiveMQQueueExistsException e) {
                   // Queue was created between our query and create queue 
request.  Ignore.
                }
 
@@ -655,8 +654,7 @@ public class ActiveMQSession implements QueueSession, 
TopicSession {
                if (response.isAutoCreateJmsQueues()) {
                   try {
                      session.createQueue(dest.getSimpleAddress(), 
RoutingType.ANYCAST, dest.getSimpleAddress(), null, true, true);
-                  }
-                  catch (ActiveMQQueueExistsException e) {
+                  } catch (ActiveMQQueueExistsException e) {
                      // The queue was created by another client/admin between 
the query check and send create queue packet
                   }
                } else {

Reply via email to