]> source.dussan.org Git - vaadin-framework.git/commitdiff
Rename getCommunicationMethod -> getCommunicationMethodName (#12019)
authorArtur Signell <artur@vaadin.com>
Fri, 14 Jun 2013 12:26:21 +0000 (15:26 +0300)
committerArtur Signell <artur@vaadin.com>
Fri, 14 Jun 2013 12:27:03 +0000 (15:27 +0300)
Change-Id: I74743548e186a8faff52d2aed3888dbec53087ad

client/src/com/vaadin/client/ApplicationConnection.java
client/src/com/vaadin/client/debug/internal/InfoSection.java

index 4229ca0b6750fb271b631ea49ddbf76768b220fc..d873cc8dc62ca11147039ef58ee19aa99d9d0f30 100644 (file)
@@ -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 {
index 865cfac4ff8fce4f1accba5fbbdfa59b5ca81f96..ade3bdd52db279fb5b2de4d194a1078cc7383b2c 100644 (file)
@@ -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)";