Removed factory methods from JetCoreEnvironment since they only invoke constuctor.

This commit is contained in:
Evgeny Gerashchenko
2012-07-24 17:16:45 +04:00
parent 17e3738084
commit 9a5fc78b85
7 changed files with 8 additions and 18 deletions
@@ -149,7 +149,7 @@ public class ResolveDescriptorsFromExternalLibraries {
else {
CompilerConfiguration configuration =
CompileCompilerDependenciesTest.compilerConfigurationForTests(ConfigurationKind.JDK_AND_ANNOTATIONS, TestJdkKind.FULL_JDK);
jetCoreEnvironment = JetCoreEnvironment.createCoreEnvironmentForJVM(junk, configuration);
jetCoreEnvironment = new JetCoreEnvironment(junk, configuration);
if (!PathUtil.findRtJar().equals(jar)) {
throw new RuntimeException("rt.jar mismatch: " + jar + ", " + PathUtil.findRtJar());
}