From: Artur Signell Date: Fri, 29 Jun 2012 09:05:34 +0000 (+0300) Subject: paintable -> connector X-Git-Tag: 7.0.0.alpha3~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=337361d463efcf55b854170c6ce995dcd59fc96c;p=vaadin-framework.git paintable -> connector --- diff --git a/src/com/vaadin/terminal/gwt/client/Util.java b/src/com/vaadin/terminal/gwt/client/Util.java index d3cb54160d..00bf144803 100644 --- a/src/com/vaadin/terminal/gwt/client/Util.java +++ b/src/com/vaadin/terminal/gwt/client/Util.java @@ -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; } }