Minor. One utility method reused in the other
This commit is contained in:
@@ -27,7 +27,7 @@ public final class AnalyzerFacadeProvider {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public static AnalyzerFacade getAnalyzerFacadeForFile(@NotNull JetFile file) {
|
public static AnalyzerFacade getAnalyzerFacadeForFile(@NotNull JetFile file) {
|
||||||
return TargetPlatformDetector.getPlatform(file) == TargetPlatform.JVM ? AnalyzerFacadeForJVM.INSTANCE : JSAnalyzerFacadeForIDEA.INSTANCE;
|
return getAnalyzerFacade(TargetPlatformDetector.getPlatform(file));
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
Reference in New Issue
Block a user