When using JSON-simple in Java, IDEA highlights in the following code the second line with inspection.
JSONObject request = new JSONObject(); request.put("type", "abilityStatus"); Inspection says:
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap' There are no problems with compilation and operation, but I want to figure out what I don’t like IDEA and how to fix it.
Who faced this and knows how to deal with it?