summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-05-04 11:36:26 -0700
committerAndroid Code Review <code-review@android.com>2010-05-04 11:36:26 -0700
commitc1358aadb57fe31b8cde564a7121b0991bae390b (patch)
tree11cec78b61d561189406582e20560895647b1f6c /src
parent2ceb570ad3b37fca2169ea9f453984cebf8c372c (diff)
parent4e0b6180a6c08f7fd3634926797099ddafc7961d (diff)
downloadpackages_apps_Browser-c1358aadb57fe31b8cde564a7121b0991bae390b.zip
packages_apps_Browser-c1358aadb57fe31b8cde564a7121b0991bae390b.tar.gz
packages_apps_Browser-c1358aadb57fe31b8cde564a7121b0991bae390b.tar.bz2
Merge "Removed findbugs warnings from BrowserActivity."
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/BrowserActivity.java4
1 files changed, 2 insertions, 2 deletions
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)