去除 idea warn Raw use of parameterized class ‘Map‘

去除 idea warn Raw use of parameterized class ‘Map’
文档:Raw use of parameterized class ‘Map’…
链接:http://note.youdao.com/noteshare?id=99bf4003db8cc5ae9813ee11e58c4d13&sub=5856371AEFA740AF8FA4D8935B4F6912
添加链接描述

public static JSONObject  toJSONObject(Map<?,?> map){
    String s = JsonUtil.mapToJsonStr(map);
    return JsonUtil.stringToJson(s);
}

你可能感兴趣的:(intellij-idea,数据库,java)