summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/typeMigration/t23/after/test.java
blob: df9ad40dc0e9ba315aa3a85219d31decaabf4d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.util.*;
class Test {
    HashMap<String, List<String>> f;

    void foo(String s, String s1) {
      List<String> set = f.get(s);
      if (set == null) {
        set = new HashSet<String>();
        f.put(s, set);
      }
      set.add(s1);
    }
}

class HashMap<K, V> extends java.util.HashMap<K, V>{}