activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r645601 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
Date Mon, 07 Apr 2008 16:39:45 GMT
Author: chirino
Date: Mon Apr  7 09:39:44 2008
New Revision: 645601

URL: http://svn.apache.org/viewvc?rev=645601&view=rev
Log:
Fix for AMQ-1616: we should not be throwing an exception if close() is called twice.

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java?rev=645601&r1=645600&r2=645601&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
Mon Apr  7 09:39:44 2008
@@ -546,8 +546,6 @@
      *                 cause this exception to be thrown.
      */
     public void close() throws JMSException {
-        checkClosed();
-
         try {
             // If we were running, lets stop first.
             stop();



Mime
View raw message