Minor. One utility method reused in the other

This commit is contained in:
Andrey Breslav
2014-04-18 23:44:13 +04:00
parent 99b5fa1f47
commit 0ce4e5e113
@@ -27,7 +27,7 @@ public final class AnalyzerFacadeProvider {
@NotNull
public static AnalyzerFacade getAnalyzerFacadeForFile(@NotNull JetFile file) {
return TargetPlatformDetector.getPlatform(file) == TargetPlatform.JVM ? AnalyzerFacadeForJVM.INSTANCE : JSAnalyzerFacadeForIDEA.INSTANCE;
return getAnalyzerFacade(TargetPlatformDetector.getPlatform(file));
}
@NotNull