1. opensymphony
  2. oscache

Commits

dr...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 439ac2b

Issue number: CACHE-167
Submitted by: Andres March

Remove must be synchronized since it was made public.

  • Participants
  • Parent commits 5fa56f2
  • Branches default

Comments (0)

Files changed (1)

File src/core/java/com/opensymphony/oscache/base/algorithm/AbstractConcurrentReadCache.java

View file
         }
     }
 
-    private Object remove(Object key, boolean invokeAlgorithm)
+    private synchronized Object remove(Object key, boolean invokeAlgorithm)
     /* Previous code
     public Object remove(Object key) */