Closed Bug 750675 Opened 12 years ago Closed 12 years ago

mobile/android/base: dependency builds

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: joey, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #748470 +++

javac -Werror tripped over a few warnings in the build.  Raw types, @Depcreated annotations, etc.


/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:18: warning: [rawtypes] found raw type: HashMap
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{
                                ^
  missing type arguments for generic class HashMap<K,V>
  where K,V are type-variables:
    K extends Object declared in class HashMap
    V extends Object declared in class HashMap
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:18: warning: [rawtypes] found raw type: Map
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{
                                                   ^
  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/JSONObject.java:30: warning: [rawtypes] found raw type: Map
	public static void writeJSONString(Map map, Writer out) throws IOException {
	                                   ^
  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/JSONObject.java:37: warning: [rawtypes] found raw type: Iterator
		Iterator iter=map.entrySet().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/json-simple/JSONObject.java:45: warning: [rawtypes] found raw type: Entry
			Map.Entry entry=(Map.Entry)iter.next();
			   ^
  missing type arguments for generic class Entry<K,V>
  where K,V are type-variables:
    K extends Object declared in interface Entry
    V extends Object declared in interface Entry
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:68: warning: [rawtypes] found raw type: Map
	public static String toJSONString(Map map){
	                                  ^
  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/JSONObject.java:74: warning: [rawtypes] found raw type: Iterator
		Iterator iter=map.entrySet().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/json-simple/JSONObject.java:83: warning: [rawtypes] found raw type: Entry
			Map.Entry entry=(Map.Entry)iter.next();
			   ^
  missing type arguments for generic class Entry<K,V>
  where K,V are type-variables:
    K extends Object declared in interface Entry
    V extends Object declared in interface Entry
error: warnings found and -Werror specified
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONArray.java:19: warning: [rawtypes] found raw type: ArrayList
Blocks: 750488
Blocks: 750680
No longer blocks: 750680
Blocks: 748470
No longer depends on: 748470
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Blocks: 753939
No longer blocks: 753939
No longer blocks: 748470
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.