void () { final <warning descr="Declaration of 'HashMap' should probably be weakened to 'java.util.Map'">HashMap</warning> map1 = new HashMap(2); final Map map2 = new HashMap(2); map1.put("foo", "foo"); map2.put("bar", "bar"); }