activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r387930 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java
Date Wed, 22 Mar 2006 20:25:46 GMT
Author: chirino
Date: Wed Mar 22 12:25:45 2006
New Revision: 387930

URL: http://svn.apache.org/viewcvs?rev=387930&view=rev
Log:
Li, Fan <fanli@amazon.com> reported to the mailing list that the connector id was not
being incremented.
fixed.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java?rev=387930&r1=387929&r2=387930&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java
Wed Mar 22 12:25:45 2006
@@ -296,7 +296,7 @@
     
     static int nextId;
     static private synchronized int getNextId() {
-        return nextId;
+        return nextId++;
     }
 
     public void setName(String name) {



Mime
View raw message