[project] non-runtime code should not use directly use runtime classes

Reverting SystemInfo -> SystemInfoRt change

GitOrigin-RevId: a4a8c2b339e037cbf9209f9730c2ae30db485932
This commit is contained in:
Roman Shevchenko
2019-06-11 01:22:46 +02:00
committed by intellij-monorepo-bot
parent 067948033a
commit e6abc7158f
464 changed files with 1385 additions and 1390 deletions

View File

@@ -15,7 +15,7 @@ import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.ui.TextFieldWithBrowseButton;
import com.intellij.openapi.util.SystemInfoRt;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.vfs.LocalFileSystem;
import com.intellij.openapi.vfs.VirtualFile;
import com.jetbrains.python.PythonHelper;
@@ -130,7 +130,7 @@ public class SphinxBaseCommand {
GeneralCommandLine cmd = new GeneralCommandLine();
if (sdkHomePath != null) {
final String runnerName = "sphinx-quickstart" + (SystemInfoRt.isWindows ? ".exe" : "");
final String runnerName = "sphinx-quickstart" + (SystemInfo.isWindows ? ".exe" : "");
String executablePath = PythonSdkType.getExecutablePath(sdkHomePath, runnerName);
if (executablePath != null) {
cmd.setExePath(executablePath);