Closed Bug 727565 Opened 12 years ago Closed 12 years ago

rawtypes and static warnings in PanZoomController and AwesomeBarTabs

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: aaronmt, Assigned: kats)

Details

Attachments

(1 file)

PanZoomController.java:300: warning: [static] static variable should be qualified by type name, GeckoApp, instead of by an expression
            GeckoApp.mAppContext.mAutoCompletePopup.hide();
                                ^
error: warnings found and -Werror specified

AwesomeBarTabs.java:287: warning: [rawtypes] found raw type: Class
                Class cls = Class.forName("android.widget.CursorTreeAdapter"); 
                ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
2 warnings
make[6]: *** [classes.dex] Error 1
make[6]: Leaving directory `/home/aaronmt/Mozilla/Fennec/ff-dbg/mobile/android/base'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/aaronmt/Mozilla/Fennec/ff-dbg/mobile/android'
make[4]: *** [libs_tier_app] Error 2
make[4]: Leaving directory `/home/aaronmt/Mozilla/Fennec/ff-dbg'
make[3]: *** [tier_app] Error 2
make[3]: Leaving directory `/home/aaronmt/Mozilla/Fennec/ff-dbg'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/aaronmt/Mozilla/Fennec/ff-dbg'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/aaronmt/Mozilla/Fennec'
make: *** [build] Error 2
Attachment #597535 - Flags: review?(bnicholson)
Attachment #597535 - Flags: review?(bnicholson) → review+
Assignee: nobody → bugmail.mozilla
https://hg.mozilla.org/mozilla-central/rev/04caa247e11a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: