mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
move package as directory: move non-java files as well; fix imports on classes in moved file(s)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package pack2;
|
||||
|
||||
import pack1.*;
|
||||
import target.pack1.S1;
|
||||
|
||||
public class UsagesFromBoth {
|
||||
S1 s1;
|
||||
S2 s2;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package target.pack1;
|
||||
|
||||
public class S1{}
|
||||
@@ -0,0 +1 @@
|
||||
readme
|
||||
@@ -0,0 +1,3 @@
|
||||
package pack1;
|
||||
|
||||
public class S2{}
|
||||
@@ -0,0 +1,9 @@
|
||||
package pack2;
|
||||
|
||||
import pack1.*;
|
||||
import target.pack1.S1;
|
||||
|
||||
public class UsagesFromBoth2 {
|
||||
S1 s1;
|
||||
S2 s2;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package pack1;
|
||||
|
||||
public class S1{}
|
||||
@@ -0,0 +1 @@
|
||||
readme
|
||||
@@ -0,0 +1,8 @@
|
||||
package pack2;
|
||||
|
||||
import pack1.*;
|
||||
|
||||
public class UsagesFromBoth {
|
||||
S1 s1;
|
||||
S2 s2;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package pack1;
|
||||
|
||||
public class S2{}
|
||||
@@ -0,0 +1,8 @@
|
||||
package pack2;
|
||||
|
||||
import pack1.*;
|
||||
|
||||
public class UsagesFromBoth2 {
|
||||
S1 s1;
|
||||
S2 s2;
|
||||
}
|
||||
Reference in New Issue
Block a user