jhonbarry/gwt-print-it

GWT 2.1 Updates

Closed this issue · 1 comments

   DeferredCommand Deprecated. Replaced by Scheduler.scheduleDeferred() because the static nature of this API prevents effective mocking for JRE-only tests.
This replace:
    DeferredCommand.addCommand(new Command() {
                        public void execute() {
                            printFrame();
                        }
                    });
by this :
   Scheduler.get().scheduleDeferred(new ScheduledCommand() {
                        @Override
                        public void execute() {
                              printFrame();
                        }
                      });

Original issue reported on code.google.com by Duvo.S...@gmail.com on 27 Jun 2012 at 6:20

Thank you for your suggestions

Original comment by andre.fr...@gmail.com on 6 Feb 2013 at 1:23

  • Changed state: Fixed