activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r508719 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java
Date Sat, 17 Feb 2007 07:10:03 GMT
Author: rajdavies
Date: Fri Feb 16 23:10:03 2007
New Revision: 508719

URL: http://svn.apache.org/viewvc?view=rev&rev=508719
Log:
for getValue() ensure the StoreEntry is up to date

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java?view=diff&rev=508719&r1=508718&r2=508719
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java
Fri Feb 16 23:10:03 2007
@@ -836,8 +836,8 @@
         if(item!=null){
             try{
                 // ensure it's up to date
-                // item=indexList.getEntry(item);
-                StoreLocation data=item.getValueDataItem();
+                StoreEntry itemToUse=indexList.getEntry(item);
+                StoreLocation data=itemToUse.getValueDataItem();
                 result=dataManager.readItem(marshaller,data);
             }catch(IOException e){
                 log.error("Failed to get value for "+item,e);



Mime
View raw message