summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java')
-rw-r--r--plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java b/plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java
new file mode 100644
index 000000000000..a99eafcc46dc
--- /dev/null
+++ b/plugins/typeMigration/testData/refactoring/typeMigration/t23/before/test.java
@@ -0,0 +1,15 @@
+import java.util.*;
+class Test {
+ HashMap<String, Set<String>> f;
+
+ void foo(String s, String s1) {
+ Set<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>{} \ No newline at end of file