Project: SWT
Bug 180773 CTabFolder's getSelection() javadocs is incorrect
Reported: 2007-04-03 14:46:10 | Status: resolved fixed

The current javadocs says that an empty array will be returned if nothing has been selected. In reality, the return type is a CTabItem (so returning an array is impossible to begin with), and the actual return value for a CTabFolder with no selection is null.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java