aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test1/RenameClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test1/RenameClass.java')
-rw-r--r--src/test/test1/RenameClass.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/test/test1/RenameClass.java b/src/test/test1/RenameClass.java
new file mode 100644
index 00000000..99a92c62
--- /dev/null
+++ b/src/test/test1/RenameClass.java
@@ -0,0 +1,26 @@
+package test1;
+
+import java.util.Hashtable;
+
+class RenameClass2 {
+ String name;
+}
+
+public class RenameClass {
+ private Hashtable table;
+ public RenameClass() {
+ table = new Hashtable();
+ }
+
+ public int test() {
+ say();
+ return 0;
+ }
+
+ public void say() {
+ RenameClass2[] pair = new RenameClass2[2];
+ pair[0] = new RenameClass2();
+ table.put("Muga", pair);
+ RenameClass2[] p = (RenameClass2[]) table.get("Muga");
+ }
+}