activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r648117 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
Date Tue, 15 Apr 2008 04:51:23 GMT
Author: rajdavies
Date: Mon Apr 14 21:51:22 2008
New Revision: 648117

URL: http://svn.apache.org/viewvc?rev=648117&view=rev
Log:
removed synchronization around readLocation() - after verifying
its only required on  https://issues.apache.org/activemq/browse/AMQ-1650

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java?rev=648117&r1=648116&r2=648117&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
Mon Apr 14 21:51:22 2008
@@ -498,7 +498,7 @@
      * @return
      * @throws IOException
      */
-    public synchronized DataStructure readCommand(Location location) throws IOException {
+    public DataStructure readCommand(Location location) throws IOException {
         try {
             ByteSequence packet = asyncDataManager.read(location);
             return (DataStructure)wireFormat.unmarshal(packet);



Mime
View raw message