From ed91722787c2f3d353db66e86a7a8f5c0ab3b1a9 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Tue, 15 Apr 2008 04:51:22 +0000 Subject: [PATCH] removed synchronization around readLocation() - after verifying its only required on https://issues.apache.org/activemq/browse/AMQ-1650 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648117 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/store/amq/AMQPersistenceAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java b/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java index 83e5f96c75..bf2d60c638 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java @@ -498,7 +498,7 @@ public class AMQPersistenceAdapter implements PersistenceAdapter, UsageListener, * @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);