Closed Bug 750705 Opened 13 years ago Closed 10 years ago

BasicHeaderValueParser.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

/local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:106: warning: [rawtypes] found raw type: List where K,V are type-variables: K extends Object declared in interface Map V extends Object declared in interface Map /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:106: warning: [rawtypes] found raw type: ArrayList ^ /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:110: warning: [unchecked] unchecked call to add(E) as a member of the raw type List K extends Object declared in interface Map V extends Object declared in interface Map /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:114: warning: [unchecked] unchecked call to <T>toArray(T[]) as a member of the raw type List V extends Object declared in class HashMap /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:239: warning: [rawtypes] found raw type: List where K,V are type-variables: K extends Object declared in interface Map V extends Object declared in interface Map /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:239: warning: [rawtypes] found raw type: ArrayList /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:242: warning: [unchecked] unchecked call to add(E) as a member of the raw type List where K,V are type-variables: K extends Object declared in interface Map V extends Object declared in interface Map /local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/message/BasicHeaderValueParser.java:250: warning: [unchecked] unchecked call to <T>toArray(T[]) as a member of the raw type List V extends Object declared in interface Map
Depends on: 750706
Depends on: 750708
Depends on: 750709
Depends on: 750710
Depends on: 750711
No longer depends on: 750711
Compiler warnings in third-party code are of no concern. See Bug 750685 for discussion. Also, apparently the developers of httpclientandroidlib need to learn to use generics.
Status: NEW → RESOLVED
Closed: 10 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.