Skip to content

JSONObject produces warning in code #93

@GoogleCodeExporter

Description

@GoogleCodeExporter
When using JSONObject, we get the following warning:

    Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized

(see 
http://stackoverflow.com/q/2646613/344286
http://stackoverflow.com/q/16415436/344286 )

It would be a good thing if JSONObject would implement HashMap<K, V> so we 
don't have to wrap code in a warning suppression or write an adapter.

Original issue reported on code.google.com by waynejwe...@gmail.com on 16 Dec 2013 at 5:15

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions