Project: SWT
Bug 46859 Combo API doc/problems
Reported: 2003-11-18 14:06:07 | Status: resolved fixed

v3030 The add(String,int) method should throw an InvalidRange error when int is < 0 as the API states and to be consistent with List. The test case for the add method includes this particular scenario (the code is currently commented out). The documentation for the setItem(String) and setItems(String[]) methods should indicate that NullArgument exception thrown.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java