When I compile such code:
HashMap props=new HashMap();
props.put("A","B");
I get warning:
warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.HashMap
Why?
HashMap has void type of elements. I should assign every type I want. Nothing seems to be wrong for me.
What am I missing?