From ff9ae59b925618805df454fc870a61e099b2b67a Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Tue, 29 Sep 2020 10:43:44 -0700 Subject: [PATCH] Cleanup some debug output --- .../GenericRemoteAppElementDataContributor.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElementDataContributor.java b/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElementDataContributor.java index 822e50b15..0a6b8fd27 100644 --- a/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElementDataContributor.java +++ b/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElementDataContributor.java @@ -48,13 +48,14 @@ public class GenericRemoteAppElementDataContributor implements Contributor, Elem // the connection but then doesn't reconnect again when the same url is added again while // the disconnect is still in progress. // Adding refresh delay avoids this issue by never sending updates in quick succession - remoteApps.onChange((e, v) -> { - System.out.println(">>> remote jmx apps"); - for (RemoteAppData remoteAppData : remoteApps.getValues()) { - System.out.println(remoteAppData); - } - System.out.println("<<< remote jmx apps"); - }); +// remoteApps.onChange((e, v) -> { +// System.out.println(">>> remote jmx apps"); +// ImmutableSet vals = remoteApps.getValues(); +// for (RemoteAppData remoteAppData : vals) { +// System.out.println(remoteAppData); +// } +// System.out.println("<<< remote jmx apps"); +// }); remoteApps.refresh(); //need one initial manual refresh because registering for // boot dash element changes only triggers when something changes. }