Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336810 - Display.getFocusControl() should mention 'null' in @return
Summary: Display.getFocusControl() should mention 'null' in @return
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 07:35 EST by Dani Megert CLA
Modified: 2011-03-15 09:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.