]> source.dussan.org Git - vaadin-framework.git/commitdiff
paintable -> connector
authorArtur Signell <artur@vaadin.com>
Fri, 29 Jun 2012 09:05:34 +0000 (12:05 +0300)
committerArtur Signell <artur@vaadin.com>
Fri, 29 Jun 2012 09:16:24 +0000 (12:16 +0300)
src/com/vaadin/terminal/gwt/client/Util.java

index d3cb54160d8e0fb295b32b01381ddcd2d5c8443d..00bf14480317894d555036fea3e45bfc49691910 100644 (file)
@@ -644,17 +644,17 @@ public class Util {
             ApplicationConnection client, Widget parent, Element element) {
         Element rootElement = parent.getElement();
         while (element != null && element != rootElement) {
-            ComponentConnector paintable = ConnectorMap.get(client)
+            ComponentConnector connector = ConnectorMap.get(client)
                     .getConnector(element);
-            if (paintable == null) {
+            if (connector == null) {
                 String ownerPid = VCaption.getCaptionOwnerPid(element);
                 if (ownerPid != null) {
-                    paintable = (ComponentConnector) ConnectorMap.get(client)
+                    connector = (ComponentConnector) ConnectorMap.get(client)
                             .getConnector(ownerPid);
                 }
             }
 
-            if (paintable != null) {
+            if (connector != null) {
                 // check that inside the rootElement
                 while (element != null && element != rootElement) {
                     element = (Element) element.getParentElement();
@@ -662,7 +662,7 @@ public class Util {
                 if (element != rootElement) {
                     return null;
                 } else {
-                    return paintable;
+                    return connector;
                 }
             }