duplicate class checks

This commit is contained in:
Eugene Zhuravlev
2013-01-21 12:57:01 +01:00
parent 6a9e60a6e9
commit 8ffa909b2c
10 changed files with 89 additions and 3 deletions
@@ -0,0 +1,10 @@
Compiling files:
src2/pkg/Constants.java
End of files
Cleaning output files:
out/production/addDuplicateClass/pkg/Constants.class
End of files
Compiling files:
src/pkg/Constants.java
src2/pkg/Constants.java
End of files
@@ -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>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/addDuplicateClass.iml" filepath="$PROJECT_DIR$/addDuplicateClass.iml" />
</modules>
</component>
</project>
@@ -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>
@@ -0,0 +1,6 @@
package pkg;
public class Client {
public static void main(String[] args) {
System.out.println(Constants.NUMBER);
}
}
@@ -0,0 +1,4 @@
package pkg;
public class Constants {
public static final Integer NUMBER = new Integer(10);
}
@@ -0,0 +1,3 @@
package pkg;
public class Constants {
}