Community
Participate
Working Groups
The Widget class could delegate isValidThread to the Display class instead of implementing the compare operation itself.
Created attachment 185771 [details] Patch containing the suggested reuse of Display.isValidThread
This patch looks good to me. It is a verbatim copy of the SWT code and also saves the acquisition of the deviceLock in Display#getThread() which apparently is unnecessary in this case. Applied patch to CVS.