Closed
Bug 1170285
Opened 11 years ago
Closed 11 years ago
Define lint.xml config for "base" sub-project
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(2 files, 1 obsolete file)
|
1002.62 KB,
text/html
|
Details | |
|
2.34 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
This bug should define some lint.xml configuration files (e.g. [1]) to reduce the number of errors at this point and fix the remaining issues.
There are currently 1134 outstanding issues. :)
[1]: https://groups.google.com/forum/#!topic/adt-dev/xWSUOAq3RCM
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Note to self: also audit use of @SuppressLint.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → michael.l.comella
| Assignee | ||
Comment 3•11 years ago
|
||
Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander
While it might seem like a good idea to disable all of the checks we don't
currently pass, Intellij uses the same lint configuration file as the
command-line invocation and so we'll be more likely to write in new errors by
disabling some checks.
Attachment #8614469 -
Flags: review?(nalexander)
| Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #0)
> and fix the remaining issues.
Simplified this - bug 1170884.
(In reply to Michael Comella (:mcomella) from comment #2)
> Note to self: also audit use of @SuppressLint.
bug 1170886.
Updated•11 years ago
|
Attachment #8614469 -
Flags: review?(nalexander) → review+
Comment 5•11 years ago
|
||
Comment on attachment 8614469 [details]
MozReview Request: Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander
https://reviewboard.mozilla.org/r/9969/#review8835
I feel like this won't actually be used, even by |mach gradle build|. I feel like we'd need a symlink from $OBJDIR/mobile/android/gradle/base/lint.xml -> $SRCDIR/mobile/android/gradle/base/lint.xml. Like at https://dxr.mozilla.org/mozilla-central/source/mobile/android/mach_commands.py?from=mobile/android/mach_commands.py#132
However, if this does work, do it.
| Assignee | ||
Comment 6•11 years ago
|
||
While it might seem like a good idea to disable all of the checks we don't
currently pass, Intellij uses the same lint configuration file as the
command-line invocation and so we'll be more likely to write in new errors by
disabling some checks.
| Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8614469 [details]
MozReview Request: Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander
Added symlinking to the other config file.
Attachment #8614469 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Attachment #8615085 -
Flags: review+
| Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
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
•