test/jdk/java/util/HashMap/SetValue.java
changeset 48541 946e34c2dec9
parent 47730 c7b5b1ce8145
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    26  * @bug 4627516
    26  * @bug 4627516
    27  * @summary HashMap.Entry.setValue() returns new value (as opposed to old)
    27  * @summary HashMap.Entry.setValue() returns new value (as opposed to old)
    28  * @author jbloch
    28  * @author jbloch
    29  */
    29  */
    30 
    30 
    31 import java.util.*;
    31 import java.util.HashMap;
       
    32 import java.util.Map;
    32 
    33 
    33 public class SetValue {
    34 public class SetValue {
    34     static final String key      = "key";
    35     static final String key      = "key";
    35     static final String oldValue = "old";
    36     static final String oldValue = "old";
    36     static final String newValue = "new";
    37     static final String newValue = "new";