Always null projectOrComponent parameter of ensureCanWrite() removed

`ConnectionOwnerFactory` from ssh module is used instead of deprecated one in remote-run.
This commit is contained in:
Alexander Koshevoy
2017-10-06 02:58:18 +03:00
parent eeb167def3
commit 916015a093
2 changed files with 2 additions and 2 deletions
@@ -115,7 +115,7 @@ public class PyRemotePackageManagerImpl extends PyPackageManagerImpl {
}
if (manager != null && remoteSdkCredentials != null) {
if (askForSudo) {
askForSudo = !manager.ensureCanWrite(null, remoteSdkCredentials, remoteSdkCredentials.getInterpreterPath());
askForSudo = !manager.ensureCanWrite(remoteSdkCredentials, remoteSdkCredentials.getInterpreterPath());
}
}
else {
@@ -85,7 +85,7 @@ public abstract class PythonRemoteInterpreterManager {
@NotNull Sdk sdk,
String path) throws ExecutionException;
public abstract boolean ensureCanWrite(@Nullable Object projectOrComponent, RemoteSdkCredentials data, String path);
public abstract boolean ensureCanWrite(RemoteSdkCredentials data, String path);
/**
* @param sdk current sdk