mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not schedule unnecessary recompilation on duplicate-class check;
fix data loss in classToSourceFile mapping after moving top-level class from one file to another file
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Cleaning output files:
|
||||
out/production/moveClassToAnotherRoot/pkg/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src2/pkg/A.java
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/moveClassToAnotherRoot/pkg/Client.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/pkg/Client.java
|
||||
End of files
|
||||
Generated
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points version="2.0" />
|
||||
</component>
|
||||
<component name="ProjectResources">
|
||||
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
|
||||
Generated
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/moveClassToAnotherRoot.iml" filepath="$PROJECT_DIR$/moveClassToAnotherRoot.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src2" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="IDEA jdk" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="common" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package pkg;
|
||||
public class A {
|
||||
public static void foo() {}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package pkg;
|
||||
public class Client {
|
||||
public static void main(String[] args) {
|
||||
A.foo();
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package pkg;
|
||||
public class A {
|
||||
public static void foo() {}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
Cleaning output files:
|
||||
out/production/MoveToplevelClassToAnotherFile/pkg/A.class
|
||||
out/production/MoveToplevelClassToAnotherFile/pkg/B.class
|
||||
out/production/MoveToplevelClassToAnotherFile/pkg/Local.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/pkg/A.java
|
||||
src/pkg/B.java
|
||||
End of files
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package pkg;
|
||||
|
||||
public class A {
|
||||
|
||||
}
|
||||
|
||||
class Local {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package pkg;
|
||||
|
||||
public class A {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package pkg;
|
||||
|
||||
public class B {
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package pkg;
|
||||
|
||||
public class B {
|
||||
|
||||
}
|
||||
|
||||
class Local {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user