We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ac317 commit cb48860Copy full SHA for cb48860
src/main/java/org/apache/ibatis/cache/decorators/FifoCache.java
@@ -26,7 +26,7 @@
26
public class FifoCache implements Cache {
27
28
private final Cache delegate;
29
- private final LinkedList<Object> keyList;
+ private LinkedList<Object> keyList;
30
private int size;
31
32
public FifoCache(Cache delegate) {
@@ -62,7 +62,7 @@ public Object removeObject(Object key) {
62
63
public void clear() {
64
delegate.clear();
65
- keyList.clear();
+ keyList = new LinkedList<Object>(); // see #138
66
}
67
68
public ReadWriteLock getReadWriteLock() {
0 commit comments