Closed
Bug 736125
Opened 14 years ago
Closed 14 years ago
More Java (1.7) related warnings causing errors on build
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 14
People
(Reporter: aaronmt, Assigned: kats)
Details
Attachments
(1 file)
|
4.28 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/GeckoApp.java:1324: warning: [static] static variable should be qualified by type name, Tab, instead of by an expression
if (tab.getState() != tab.STATE_LOADING) {
^
error: warnings found and -Werror specified
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/gfx/LayerController.java:145: warning: [static] static method should be qualified by type name, Tabs, instead of by an expression
Tabs.getInstance().registerOnTabsChangedListener(this);
^
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/gfx/LayerController.java:148: warning: [static] static method should be qualified by type name, ViewConfiguration, instead of by an expression
mTimeout = vc.getLongPressTimeout();
^
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/gfx/LayerController.java:152: warning: [static] static method should be qualified by type name, Tabs, instead of by an expression
Tabs.getInstance().unregisterOnTabsChangedListener(this);
^
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/TabsTray.java:91: warning: [static] static method should be qualified by type name, Tabs, instead of by an expression
tabs.registerOnTabsChangedListener(this);
^
/home/aaronmt/Mozilla/Mozilla-Central/mobile/android/base/TabsTray.java:117: warning: [static] static method should be qualified by type name, Tabs, instead of by an expression
Tabs.getInstance().unregisterOnTabsChangedListener(this);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
6 warnings
make[6]: *** [classes.dex] Error 1
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → bugmail.mozilla
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #606262 -
Flags: review?(sriram)
Comment 2•14 years ago
|
||
Comment on attachment 606262 [details] [diff] [review]
Patch
Review of attachment 606262 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me. I'll make sure to use "static" method properly, going forward.
Attachment #606262 -
Flags: review?(sriram) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Target Milestone: --- → Firefox 14
Comment 4•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•