Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336810

Summary: Display.getFocusControl() should mention 'null' in @return
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: eclipse.felipe, markus.kell.r
Version: 3.6.2   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dani Megert CLA 2011-02-10 07:35:37 EST
The Javadoc of Display.getFocusControl() should mention 'null' in @return.
Comment 1 Felipe Heidrich CLA 2011-02-11 09:59:42 EST
Fixed
Comment 2 Markus Keller CLA 2011-02-11 11:12:45 EST
Now it says:
 * @return the control under the cursor or <code>null</code>

But this has little to with the mouse cursor. Better say:
 * @return the focus control or <code>null</code>
Comment 3 Felipe Heidrich CLA 2011-02-11 11:54:14 EST
fixed, it was copied from getCursorControl
Comment 4 Dani Megert CLA 2011-03-15 09:15:50 EDT
Verified in I20110310-1119.