geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r354270 - /geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
Date Tue, 06 Dec 2005 03:24:15 GMT
Author: dblevins
Date: Mon Dec  5 19:24:13 2005
New Revision: 354270

URL: http://svn.apache.org/viewcvs?rev=354270&view=rev
Log:
Removed unrequired synchronization

Modified:
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java?rev=354270&r1=354269&r2=354270&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
Mon Dec  5 19:24:13 2005
@@ -77,11 +77,8 @@
             } else if (message instanceof ObjectMessage) {
 
                 try {
-                    Connection result;
-                    synchronized ((AbstractContinuumBuildAgent)this) {
-                        result = getClient().getConnection();
-                    }
-                    getLogger().info("Message Received "+ message.getJMSMessageID() +" on
"+ result.getClientID()+":"+buildResultsTopic);
+                    Connection connection = client.getConnection();
+                    getLogger().info("Message Received "+ message.getJMSMessageID() +" on
"+ connection.getClientID()+":"+buildResultsTopic);
 
                     ObjectMessage objectMessage = (ObjectMessage) message;
 



Mime
View raw message