Author: doogie
Date: Wed Oct 17 07:33:34 2007
New Revision: 585522
URL:
http://svn.apache.org/viewvc?rev=585522&view=revLog:
getKeyFromMemory() wasn't incrementing currentIdx during the loop;
this means it would only ever be able to return the first key from
memory. Resolves
https://issues.apache.org/jira/browse/OFBIZ-1298.
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/CacheLineTable.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/CacheLineTable.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/CacheLineTable.java?rev=585522&r1=585521&r2=585522&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/CacheLineTable.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/CacheLineTable.java Wed Oct 17 07:33:34 2007
@@ -252,6 +252,7 @@
if (currentIdx == index) {
return key;
}
+ currentIdx++;
}
return null;
}