Reviewers: pdr,

Description:
Fixing HasDataPresenter#scheduleFinally to schedule the command in the
argument, not the pendingStateCommand instance variable.


Please review this at http://gwt-code-reviews.appspot.com/1391801/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java


Index: user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java
===================================================================
--- user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java (revision 9892) +++ user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java (working copy)
@@ -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