]> source.dussan.org Git - vaadin-framework.git/commitdiff
getDirtyComponents() not compatible with subtree caching
authorMarc Englund <marc.englund@itmill.com>
Wed, 3 Oct 2007 13:56:07 +0000 (13:56 +0000)
committerMarc Englund <marc.englund@itmill.com>
Wed, 3 Oct 2007 13:56:07 +0000 (13:56 +0000)
svn changeset:2433/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java

index 67f2e8ae826332ba7fff0afe2565ab0781a527b1..416eff723df62f188b64a6d81f86692ca066b313 100644 (file)
@@ -920,9 +920,11 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
         * @return
         */
        public synchronized Set getDirtyComponents() {
-
+               // TODO not compatible w/ subtree caching
+           
                // Remove unnecessary repaints from the list
                Object[] paintables = dirtyPaintabletSet.toArray();
+/*
                for (int i = 0; i < paintables.length; i++) {
                        if (paintables[i] instanceof Component) {
                                Component c = (Component) paintables[i];
@@ -941,7 +943,7 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
                                }
                        }
                }
-
+*/
                return Collections.unmodifiableSet(dirtyPaintabletSet);
        }