diff options
author | Cary Clark <cary@android.com> | 2009-08-11 13:45:28 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-08-11 13:45:28 -0400 |
commit | a589419c04f278a5d94811091a1100d284f3f2ec (patch) | |
tree | dcecd8f9b1ee1a3ad4b3de6e3c6c0a652ed50d6b /core | |
parent | c8a0a75e1c61d1ab24bd46a8243041c107e738ac (diff) | |
download | frameworks_base-a589419c04f278a5d94811091a1100d284f3f2ec.zip frameworks_base-a589419c04f278a5d94811091a1100d284f3f2ec.tar.gz frameworks_base-a589419c04f278a5d94811091a1100d284f3f2ec.tar.bz2 |
remove unused locals
found by findbugs
http://b/issue?id=1857022
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/webkit/DateSorter.java | 3 | ||||
-rw-r--r-- | core/java/android/webkit/Network.java | 2 | ||||
-rw-r--r-- | core/java/android/webkit/SslErrorHandler.java | 9 |
3 files changed, 2 insertions, 12 deletions
diff --git a/core/java/android/webkit/DateSorter.java b/core/java/android/webkit/DateSorter.java index 750403b..c46702e 100644 --- a/core/java/android/webkit/DateSorter.java +++ b/core/java/android/webkit/DateSorter.java @@ -43,9 +43,6 @@ public class DateSorter { private static final int NUM_DAYS_AGO = 5; - Date mDate = new Date(); - Calendar mCal = Calendar.getInstance(); - /** * @param context Application context */ diff --git a/core/java/android/webkit/Network.java b/core/java/android/webkit/Network.java index fb60109..0b9e596 100644 --- a/core/java/android/webkit/Network.java +++ b/core/java/android/webkit/Network.java @@ -136,7 +136,7 @@ class Network { Assert.assertTrue(Thread.currentThread(). getName().equals(WebViewCore.THREAD_NAME)); } - mSslErrorHandler = new SslErrorHandler(this); + mSslErrorHandler = new SslErrorHandler(); mHttpAuthHandler = new HttpAuthHandler(this); mRequestQueue = new RequestQueue(context); diff --git a/core/java/android/webkit/SslErrorHandler.java b/core/java/android/webkit/SslErrorHandler.java index cc1e750..b6cfa0f 100644 --- a/core/java/android/webkit/SslErrorHandler.java +++ b/core/java/android/webkit/SslErrorHandler.java @@ -42,11 +42,6 @@ public class SslErrorHandler extends Handler { private static final String LOGTAG = "network"; /** - * Network. - */ - private Network mNetwork; - - /** * Queue of loaders that experience SSL-related problems. */ private LinkedList<LoadListener> mLoaderQueue; @@ -72,9 +67,7 @@ public class SslErrorHandler extends Handler { /** * Creates a new error handler with an empty loader queue. */ - /* package */ SslErrorHandler(Network network) { - mNetwork = network; - + /* package */ SslErrorHandler() { mLoaderQueue = new LinkedList<LoadListener>(); mSslPrefTable = new Bundle(); } |