I have the following JAVA
method implemented due a interface:
public String importDocument(ImportSource source, Map<String, ? extends Object> paramMap);
When i try to do following, i get an compile warning. Snippet:
paramMap.put("Key", "Value");
Error:
The method put(String, capture#1-of ? extends Object) in the type Map is not applicable for the arguments (String, String)
Why?