Can someone explain the following error (from eclipse IDE):
The method put(String, capture#1-of ?) in the type Map is not applicable for the arguments (String, Object)
Received on line 3 of the code blow:
public class MyTest {
public void populateUserLoggedIn(Map<String, ?> model){
model.put( "test", new Object() );
}
}