Generify code
843793Mar 18 2005 — edited Mar 22 2005If I cant change the signature of this method how do I refactor it so that it doesn't throw any compiler errors or warnings in JDK (1).5.0?
public void method(Object map, String key, String value) {
((Map) map).put(key, value);
}