From 4e0b6180a6c08f7fd3634926797099ddafc7961d Mon Sep 17 00:00:00 2001 From: Henrik Baard Date: Wed, 21 Apr 2010 12:31:47 +0200 Subject: Removed findbugs warnings from BrowserActivity. Change-Id: I4b5bc7b66ffb44483d0783f05b02558f709382ee --- src/com/android/browser/BrowserActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 9030cf7..a754900 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -1464,7 +1464,7 @@ public class BrowserActivity extends Activity if (mTabControl.getTabCount() == 1) { // This is the last tab. Open a new one, with the home // page and close the current one. - TabControl.Tab newTab = openTabToHomePage(); + openTabToHomePage(); closeTab(current); return; } @@ -3772,7 +3772,7 @@ public class BrowserActivity extends Activity ((TextView) pageInfoView.findViewById(R.id.title)).setText(title); mPageInfoView = tab; - mPageInfoFromShowSSLCertificateOnError = new Boolean(fromShowSSLCertificateOnError); + mPageInfoFromShowSSLCertificateOnError = Boolean.valueOf(fromShowSSLCertificateOnError); AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(this) -- cgit v1.1