From 980724bab5c59526803b302ccba25a9f50f27d1c Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Wed, 22 Feb 2012 08:00:31 +0800 Subject: Remove unused code. Change-Id: I167596ab023671651df298ddb2b80b7c782f4223 --- src/com/android/gallery3d/util/IdentityCache.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android/gallery3d/util/IdentityCache.java') 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 { return entry == null ? null : entry.get(); } + // This is currently unused. + /* public synchronized void clear() { mWeakMap.clear(); mQueue = new ReferenceQueue(); } + */ + // This is for debugging only public synchronized ArrayList keys() { Set set = mWeakMap.keySet(); ArrayList result = new ArrayList(set); -- cgit v1.2.3