Author: clebert.suconic(a)jboss.com
Date: 2010-03-30 01:35:59 -0400 (Tue, 30 Mar 2010)
New Revision: 9007
Modified:
trunk/src/main/org/hornetq/jms/persistence/impl/journal/JMSJournalStorageManagerImpl.java
Log:
tweak
Modified:
trunk/src/main/org/hornetq/jms/persistence/impl/journal/JMSJournalStorageManagerImpl.java
===================================================================
---
trunk/src/main/org/hornetq/jms/persistence/impl/journal/JMSJournalStorageManagerImpl.java 2010-03-30
05:24:47 UTC (rev 9006)
+++
trunk/src/main/org/hornetq/jms/persistence/impl/journal/JMSJournalStorageManagerImpl.java 2010-03-30
05:35:59 UTC (rev 9007)
@@ -269,7 +269,7 @@
public void deleteDestination(final PersistedType type, final String name) throws
Exception
{
- PersistedDestination destination = destinations.get(new Pair<PersistedType,
String>(type, name));
+ PersistedDestination destination = destinations.remove(new Pair<PersistedType,
String>(type, name));
if(destination != null)
{
jmsJournal.appendDeleteRecord(destination.getId(), false);
Show replies by date