diff options
author | Cary Clark <cary@android.com> | 2009-08-11 16:42:26 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-08-11 16:42:26 -0400 |
commit | a977124eb29b195127fd161120ebbc58b255fb48 (patch) | |
tree | 9036fa7d1010bf41d6e34afcde0d10114fdfba71 /src/com/android/browser | |
parent | 52220802f4b660ec14347b0e10d6077edecda9dd (diff) | |
download | packages_apps_Browser-a977124eb29b195127fd161120ebbc58b255fb48.zip packages_apps_Browser-a977124eb29b195127fd161120ebbc58b255fb48.tar.gz packages_apps_Browser-a977124eb29b195127fd161120ebbc58b255fb48.tar.bz2 |
make private inner classes static
bug found by findbugs
http://b/issue?id=1856695
Diffstat (limited to 'src/com/android/browser')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 4 | ||||
-rw-r--r-- | src/com/android/browser/TabControl.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index e15064b..769f54d 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -281,7 +281,7 @@ public class BrowserActivity extends Activity * Anything that is in this directory will be copied over to the * user data partition in app_plugins. */ - private class CopyPlugins implements Runnable { + private static class CopyPlugins implements Runnable { final static String TAG = "PluginsInstaller"; final static String ZIP_FILTER = "assets/plugins/"; final static String APK_PATH = "/system/app/Browser.apk"; @@ -621,7 +621,7 @@ public class BrowserActivity extends Activity } } - private class ClearThumbnails extends AsyncTask<File, Void, Void> { + private static class ClearThumbnails extends AsyncTask<File, Void, Void> { @Override public Void doInBackground(File... files) { if (files != null) { diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java index e6cacb8..1df4b74 100644 --- a/src/com/android/browser/TabControl.java +++ b/src/com/android/browser/TabControl.java @@ -69,7 +69,7 @@ class TabControl { private final LayoutInflater mInflateService; // Subclass of WebViewClient used in subwindows to notify the main // WebViewClient of certain WebView activities. - private class SubWindowClient extends WebViewClient { + private static class SubWindowClient extends WebViewClient { // The main WebViewClient. private final WebViewClient mClient; |