Project: Eclipse_Platform_UI
Bug 267560 [EditorMgmt] Javadoc inconsistent for EditorManager#findEditors
Reported: 2009-03-08 19:32:15 | Status: resolved fixed

The Javadoc comments for the two org.eclipse.ui.internal.EditorManager#findEditors methods are inconsistent/wrong. The description of findEditors(IEditorInput, String, int) says (correct): If none match, returns an empty array. Whereas the @return tag says (incorrect): the matching editor, or <code>null</code> if no match fond The description of findEditors(List, IEditorInput, String, int, List) has a @return tag although the method is void. Also note the typo ('fond') in all the @return tags of the findEditor[s] methods.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java