]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed extra class check
authorArtur Signell <artur.signell@itmill.com>
Mon, 22 Dec 2008 15:06:40 +0000 (15:06 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 22 Dec 2008 15:06:40 +0000 (15:06 +0000)
svn changeset:6332/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/Util.java

index 42d1f869bb8020a20cf1c86b32484cf4aedd26aa..7c13ce7d7698b8ec66a9e0c2b4f86456fff5c50b 100644 (file)
@@ -75,12 +75,6 @@ public class Util {
      *            run componentSizeUpdated lazyly
      */
     public static void notifyParentOfSizeChange(Paintable widget, boolean lazy) {
-        if (!(widget instanceof Paintable)) {
-            ApplicationConnection.getConsole().log(
-                    "Notified widget must be paintable not "
-                            + widget.getClass().getName());
-            return;
-        }
         if (lazy) {
             latelyChangedWidgets.add(widget);
             lazySizeChangeTimer.schedule(LAZY_SIZE_CHANGE_TIMEOUT);