Closed
Bug 750847
Opened 13 years ago
Closed 10 years ago
ProfileMigrator.java: dep induced javac -Werror failures
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: joey, Unassigned)
References
Details
Attachments
(1 file)
3.22 KB,
patch
|
Details | Diff | Splinter Review |
/local/mozilla/bugs/748470/mobile/android/base/ProfileMigrator.java:544: warning: [rawtypes] found raw type: Iterator Iterator cacheFiles = Arrays.asList(files).iterator(); ^ missing type arguments for generic class Iterator<E> where E is a type-variable: E extends Object declared in interface Iterator error: warnings found and -Werror specified /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/HttpEntity.java:196: warning: [dep-ann] deprecated item is not annotated with @Deprecated void consumeContent() throws IOException; ^ /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/HeaderIterator.java:37: warning: [rawtypes] found raw type: Iterator public interface HeaderIterator extends Iterator { ^ missing type arguments for generic class Iterator<E> where E is a type-variable: E extends Object declared in interface Iterator /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/params/HttpParams.java:79: warning: [dep-ann] deprecated item is not annotated with @Deprecated HttpParams copy(); ^
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 1•13 years ago
|
||
Compiler warning fixes: Replaced (File) typecast with Iterator<File>. Added @Deprecated decorations
Assignee: nobody → joey
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Updated•13 years ago
|
Assignee: joey → nobody
Comment 2•10 years ago
|
||
ProfileMigrator no longer exists, and no warnings of this class exist in any of our existing code (we're building with Xlint:all), so this got fixed some time ago.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•4 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
•