From 5bf0a607029aceb6301cf95ecc0c1ed84379208e Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 15 Feb 2012 22:55:47 -0500 Subject: [PATCH] Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson --- mobile/android/base/AwesomeBarTabs.java | 2 +- mobile/android/base/ui/PanZoomController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/android/base/AwesomeBarTabs.java b/mobile/android/base/AwesomeBarTabs.java index d8d50d40a27..19524a3d1c3 100644 --- a/mobile/android/base/AwesomeBarTabs.java +++ b/mobile/android/base/AwesomeBarTabs.java @@ -284,7 +284,7 @@ public class AwesomeBarTabs extends TabHost { try { // use reflection to disable auto-requery - Class cls = Class.forName("android.widget.CursorTreeAdapter"); + Class cls = Class.forName("android.widget.CursorTreeAdapter"); Field field = cls.getDeclaredField("mAutoRequery"); field.setAccessible(true); field.set(mBookmarksAdapter, false); diff --git a/mobile/android/base/ui/PanZoomController.java b/mobile/android/base/ui/PanZoomController.java index bfd0b43e7d0..04a182f0d15 100644 --- a/mobile/android/base/ui/PanZoomController.java +++ b/mobile/android/base/ui/PanZoomController.java @@ -297,7 +297,7 @@ public class PanZoomController cancelTouch(); startPanning(event.getX(0), event.getY(0), event.getEventTime()); GeckoApp.mAppContext.hidePlugins(false /* don't hide layers */); - GeckoApp.mAppContext.mAutoCompletePopup.hide(); + GeckoApp.mAutoCompletePopup.hide(); track(event); return true;