[hornetq-commits] JBoss hornetq SVN: r9007 - trunk/src/main/org/hornetq/jms/persistence/impl/journal.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Mar 30 01:35:59 EDT 2010


Author: clebert.suconic at 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);



More information about the hornetq-commits mailing list