Project: SWT
Bug 128451 likely error in ControlEditor
Reported: 2006-02-17 13:44:16 | Status: resolved fixed

3.2M5 The eclipse compiler with additional warnings turned on pointed out that the "editor == null" check in ControlEditor line 247 is not needed because it can never fail. However it looks like this was possibly meant to be "this.editor == null", since it is preceded by resize() which can fire a Resize callback and thereby gives the client the opportunity to set a new editor or null editor.

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