Closed Bug 750688 Opened 10 years ago Closed 8 years ago

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

javac -Werror induced failures

/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONArray.java:19: warning: [rawtypes] found raw type: ArrayList
                                           ^
  missing type arguments for generic class List<E>
  where E is a type-variable:
    E extends Object declared in interface List
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONArray.java:19: warning: [rawtypes] found raw type: List
        public static String toJSONString(List list){
                                          ^
  missing type arguments for generic class List<E>
  where E is a type-variable:
    E extends Object declared in interface List
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONArray.java:31: warning: [rawtypes] found raw type: List
                ^
  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/json-simple/JSONArray.java:38: warning: [rawtypes] found raw type: Iterator
  missing type arguments for generic class Map<K,V>
  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/json-simple/JSONArray.java:71: warning: [rawtypes] found raw type: List
        for (Iterator i = this.headergroup.iterator(); i.hasNext(); ) {
             ^
  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/json-simple/JSONArray.java:77: warning: [rawtypes] found raw type: Iterator
                    ^
  missing type arguments for generic class List<E>
  where E is a type-variable:
    E extends Object declared in interface List
Depends on: 750690
Depends on: 750692
Depends on: 750693
No longer blocks: 750685
No longer depends on: 750690, 750692, 750693
Blocks: 748470
No longer depends on: 748470
Blocks: 753939
No longer blocks: 753939
No longer blocks: 748470
Compiler warnings in third-party code are of no concern. See Bug 750685 for discussion.
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.