From f1afe2cc56020e001d57af6284b93832d381af7f Mon Sep 17 00:00:00 2001 From: Ivan Buryak Date: Tue, 4 Jun 2019 11:03:55 +0700 Subject: [PATCH] IDEA-195017 Docker: Get correct name of newly created container in Browser but do not break other functionality for such containers GitOrigin-RevId: 43b5f6027052b7f1064b5fbb90e49901e491db89 --- .../impl/runtime/deployment/LocalDeploymentImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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