Revision: 9896
Author:   [email protected]
Date:     Fri Mar 25 07:28:45 2011
Log: Fixing HasDataPresenter#scheduleFinally to schedule the command in the argument, not the pendingStateCommand instance variable.

Review at http://gwt-code-reviews.appspot.com/1391801

http://code.google.com/p/google-web-toolkit/source/detail?r=9896

Modified:
 /trunk/user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java

=======================================
--- /trunk/user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java Thu Mar 24 08:45:30 2011 +++ /trunk/user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java Fri Mar 25 07:28:45 2011
@@ -950,14 +950,15 @@

   /**
    * Schedules the command.
-   *
+   *
    * <p>
-   * Protected so that subclasses can override to use an alternative
-   * scheduler.
+ * Protected so that subclasses can override to use an alternative scheduler.
    * </p>
+   *
+   * @param command the command to execute
    */
   protected void scheduleFinally(ScheduledCommand command) {
-    Scheduler.get().scheduleFinally(pendingStateCommand);
+    Scheduler.get().scheduleFinally(command);
   }

   /**

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to