mobile/android/base: dependency builds

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
6 years ago
6 years ago

People

(Reporter: joey, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
+++ 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
(Reporter)

Updated

6 years ago
Blocks: 750488
(Reporter)

Updated

6 years ago
Blocks: 750680
(Reporter)

Updated

6 years ago
No longer blocks: 750680
(Reporter)

Updated

6 years ago
Blocks: 748470
No longer depends on: 748470
(Reporter)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
(Reporter)

Updated

6 years ago
Blocks: 753939
(Reporter)

Updated

6 years ago
No longer blocks: 753939
(Reporter)

Updated

6 years ago
No longer blocks: 748470
You need to log in before you can comment on or make changes to this bug.