summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2011-02-11 16:54:11 +0000
committerFelipe Heidrich <fheidric>2011-02-11 16:54:11 +0000
commitb40c78f17582c1ca819c7b0b0fea091d845e5ce3 (patch)
tree669e2b84200e2310b47b618001b62567bc8c95b0
parentb6480ee038081c5289f57243ea355f47387c79cb (diff)
downloadeclipse.platform.swt-b40c78f17582c1ca819c7b0b0fea091d845e5ce3.tar.gz
eclipse.platform.swt-b40c78f17582c1ca819c7b0b0fea091d845e5ce3.tar.xz
eclipse.platform.swt-b40c78f17582c1ca819c7b0b0fea091d845e5ce3.zip
Bug 336810 - Display.getFocusControl() should mention 'null' in @return
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
index e42188647f..003cfbdf8e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
@@ -1618,7 +1618,7 @@ Control getControl (int /*long*/ handle) {
* over top of, or null if it is not currently over one of the
* controls built by the currently running application.
*
- * @return the control under the cursor
+ * @return the control under the cursor or <code>null</code>
*
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
@@ -1809,7 +1809,7 @@ public int getDoubleClickTime () {
* any of the controls built by the currently running
* application.
*
- * @return the control under the cursor or <code>null</code>
+ * @return the focus control or <code>null</code>
*
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>