summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util/IdentityCache.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-02-22 08:00:31 +0800
committerChih-Chung Chang <chihchung@google.com>2012-02-23 09:15:21 +0800
commit980724bab5c59526803b302ccba25a9f50f27d1c (patch)
tree6a752d52444829ee1dd5678eb2cdd06af9a063ee /src/com/android/gallery3d/util/IdentityCache.java
parentbe55f1e81c6021cf499c24331088fb01a8db9f91 (diff)
downloadandroid_packages_apps_Snap-980724bab5c59526803b302ccba25a9f50f27d1c.tar.gz
android_packages_apps_Snap-980724bab5c59526803b302ccba25a9f50f27d1c.tar.bz2
android_packages_apps_Snap-980724bab5c59526803b302ccba25a9f50f27d1c.zip
Remove unused code.
Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
Diffstat (limited to 'src/com/android/gallery3d/util/IdentityCache.java')
-rw-r--r--src/com/android/gallery3d/util/IdentityCache.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/util/IdentityCache.java b/src/com/android/gallery3d/util/IdentityCache.java
index 02a46aef7..59a22910b 100644
--- a/src/com/android/gallery3d/util/IdentityCache.java
+++ b/src/com/android/gallery3d/util/IdentityCache.java
@@ -61,11 +61,15 @@ public class IdentityCache<K, V> {
return entry == null ? null : entry.get();
}
+ // This is currently unused.
+ /*
public synchronized void clear() {
mWeakMap.clear();
mQueue = new ReferenceQueue<V>();
}
+ */
+ // This is for debugging only
public synchronized ArrayList<K> keys() {
Set<K> set = mWeakMap.keySet();
ArrayList<K> result = new ArrayList<K>(set);