Minor. Renamed and cleaned CompilerServices -> Services.

This commit is contained in:
Evgeny Gerashchenko
2014-08-20 14:29:03 +04:00
parent 487f381287
commit 56fd9cec7a
2 changed files with 2 additions and 2 deletions
@@ -128,7 +128,7 @@ public class CompilerRunnerUtil {
Method exec = kompiler.getMethod( Method exec = kompiler.getMethod(
"execAndOutputHtml", "execAndOutputHtml",
PrintStream.class, PrintStream.class,
Class.forName("org.jetbrains.jet.config.CompilerServices", true, loader), String[].class); Class.forName("org.jetbrains.jet.config.Services", true, loader), String[].class);
return exec.invoke(kompiler.newInstance(), out, environment.getServices(), arguments); return exec.invoke(kompiler.newInstance(), out, environment.getServices(), arguments);
} }
@@ -137,7 +137,7 @@ public class KotlinBuilder extends ModuleLevelBuilder {
@Override @Override
public boolean accept(String className) { public boolean accept(String className) {
return className.startsWith("org.jetbrains.jet.lang.resolve.kotlin.incremental.cache.") || return className.startsWith("org.jetbrains.jet.lang.resolve.kotlin.incremental.cache.") ||
className.equals("org.jetbrains.jet.config.CompilerServices"); className.equals("org.jetbrains.jet.config.Services");
} }
}, compilerServices); }, compilerServices);
if (!environment.success()) { if (!environment.success()) {