From ec0f93a2267d493af17637c4b47efc0fc18fe5be Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Thu, 26 Mar 2020 09:41:25 -0700 Subject: [PATCH] Fix compile error caused by changed api in RunTargetType from boot dash. --- .../manifest/ls/BootDashTargetInfoSynchronizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclipse-language-servers/org.springframework.tooling.cloudfoundry.manifest.ls/src/org/springframework/tooling/cloudfoundry/manifest/ls/BootDashTargetInfoSynchronizer.java b/eclipse-language-servers/org.springframework.tooling.cloudfoundry.manifest.ls/src/org/springframework/tooling/cloudfoundry/manifest/ls/BootDashTargetInfoSynchronizer.java index b4e4b7bc9..2e43ee772 100644 --- a/eclipse-language-servers/org.springframework.tooling.cloudfoundry.manifest.ls/src/org/springframework/tooling/cloudfoundry/manifest/ls/BootDashTargetInfoSynchronizer.java +++ b/eclipse-language-servers/org.springframework.tooling.cloudfoundry.manifest.ls/src/org/springframework/tooling/cloudfoundry/manifest/ls/BootDashTargetInfoSynchronizer.java @@ -90,7 +90,7 @@ public class BootDashTargetInfoSynchronizer { if (targets != null) { for (RunTarget runTarget : targets) { if (runTarget instanceof CloudFoundryRunTarget) { -// ((CloudFoundryRunTarget) runTarget).addConnectionStateListener(clientsChangedListener); + ((CloudFoundryRunTarget) runTarget).getClientExp().addListener(clientsChangedListener); } } }