mirror of https://github.com/apache/activemq.git
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:
parent
ffdc4176f3
commit
ed91722787
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue