From 07541584787ce19bddc4091fcf3b46f205327dce Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 14 Jun 2013 15:26:21 +0300 Subject: [PATCH] Rename getCommunicationMethod -> getCommunicationMethodName (#12019) Change-Id: I74743548e186a8faff52d2aed3888dbec53087ad --- client/src/com/vaadin/client/ApplicationConnection.java | 2 +- client/src/com/vaadin/client/debug/internal/InfoSection.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java index 4229ca0b67..d873cc8dc6 100644 --- a/client/src/com/vaadin/client/ApplicationConnection.java +++ b/client/src/com/vaadin/client/ApplicationConnection.java @@ -3408,7 +3408,7 @@ public class ApplicationConnection { * @since 7.1 * @return A string representation of the current transport type */ - public String getCommunicationMethod() { + public String getCommunicationMethodName() { if (push != null) { return "Push (" + push.getTransportType() + ")"; } else { diff --git a/client/src/com/vaadin/client/debug/internal/InfoSection.java b/client/src/com/vaadin/client/debug/internal/InfoSection.java index 865cfac4ff..ade3bdd52d 100644 --- a/client/src/com/vaadin/client/debug/internal/InfoSection.java +++ b/client/src/com/vaadin/client/debug/internal/InfoSection.java @@ -165,7 +165,7 @@ public class InfoSection implements Section { addRow("Widget set", GWT.getModuleName()); addRow("Theme", connection.getConfiguration().getThemeName()); - String communicationMethodInfo = connection.getCommunicationMethod(); + String communicationMethodInfo = connection.getCommunicationMethodName(); int pollInterval = connection.getUIConnector().getState().pollInterval; if (pollInterval > 0) { communicationMethodInfo += " (poll interval " + pollInterval + "s)"; -- 2.39.5