DeferredCommand has been deprecated since Scheduler was added. Patrick 
Tucker submitted a bunch of patches to remove those uses of a deprecated 
API.
This is not something coming from Google, so don't see a sign or anything 
behind it, it's coming from an external contributor.

Be prepared though that a bunch of deprecated APIs will probably be removed 
in the next months, in order to clean-up the code base: event listeners, 
com.google.gwt.event (with a breaking change in Activities), many 
c.g.g.u.c.DOM methods, etc. SO if you're still using DeferredCommands, you 
should probably start slowly moving them to Scheduler.

On Monday, June 11, 2012 1:04:43 AM UTC+2, Joseph Lust wrote:
>
> For anyone that is knowledgeable, I noticed that with the wave of 2.5 
> release changes in the GWT trunk this weekend there were a number of places 
> where code was switched from using 
> DeferredCommand.addCommand()<http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/DeferredCommand.html#addCommand(com.google.gwt.user.client.IncrementalCommand)>
>  
> toScheduler.scheduleDeferred()<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/Scheduler.html#scheduleDeferred(com.google.gwt.core.client.Scheduler.ScheduledCommand)>.
>  
> There was no mention in the comments on why this was changed and what the 
> proper use case is for each. Ostensibly, the two commands are very similar 
> according to their Javadocs. Does anyone know why this is and what devs on 
> the forum might need to do to their existing DeferredCommand 
> implementation? Thanks.
>
> Effected checkins
> #10996
> #11005
> #11010
> #11011
> #11012
> #11013
> #11014
> #11021
>
> Joe
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/uEsbcxE0gSwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to