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
This commit is contained in:
Robert Davies 2008-04-15 04:51:22 +00:00
parent ffdc4176f3
commit ed91722787
1 changed files with 1 additions and 1 deletions

View File

@ -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);