diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/deployment/LocalDeploymentImpl.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/deployment/LocalDeploymentImpl.java index 94faf686879c..c2cc51a32bc6 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/deployment/LocalDeploymentImpl.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/deployment/LocalDeploymentImpl.java @@ -80,9 +80,9 @@ public class LocalDeploymentImpl extends Depl return isLocalState() ? super.getStatusText() : myRemoteDeployment.getStatusText(); } - @Override - public DeploymentRuntime getRuntime() { - return isLocalState() ? super.getRuntime() : myRemoteDeployment.getRuntime(); + @Nullable + public DeploymentRuntime getRemoteRuntime() { + return isLocalState() ? null : myRemoteDeployment.getRuntime(); } @Override