Possible leek of memory in ExtendedKeystore
Bruno Dorel <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user,gmane.comp.jakarta.slide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, The method removeObjectFromCache(Object key) remove nothing from caches due to the fact that the key.toString() method used several times in this méthod refer to the java.lang.Object.toString() method . Change removeObjectFromCache(Object key) to removeObjectFromCache(Uri key) it compiles well and will remove objects from your caches and your GC will tanks you You should have a look to the Uri.equals(Object obj) method and change return as : return uri.equals((Uri)obj).uri) Obj.toString is ambigus Hope this can Help B DOREL