Closed Bug 750847 Opened 10 years ago Closed 8 years ago

ProfileMigrator.java: dep induced javac -Werror failures

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: joey, Unassigned)

References

Details

Attachments

(1 file)

/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();
               ^
No longer blocks: 750687, 750690, 750692
No longer depends on: 750693
Compiler warning fixes:
Replaced (File) typecast with Iterator<File>.
Added @Deprecated decorations
Assignee: nobody → joey
Blocks: 748470
No longer depends on: 748470
Blocks: 753939
No longer blocks: 753939
Assignee: joey → nobody
No longer blocks: 748470
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: 8 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.