Bug 105816 Extraneous NLS tag incorrectly found in comments
I20050802-0800 In CoolBarManager (org.eclipse.jface) there are NLS tags inside of commented-out blocks of code. These are being reported as compiler errors (when "Usage of non-externalized strings" is set to error). NLS tags inside of commented-out sections should be ignored. If the commented-out sections were uncommented, then the NLS tags would not be errors.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
}
            } catch (CoreException e) {
            }
        }
        return new StructuredSelection(selectionList);
    }
    protected abstract String[] getRootTypes();
    /**
     * @param part
     * @param selection
     */
    protected void focusSelectionChanged(IWorkbenchPart part,
            ISelection selection) {
        List resources = new ArrayList();
        if (part instanceof IEditorPart) {
            IEditorPart editor = (IEditorPart) part;
            IFile file = ResourceUtil.getFile(editor.getEditorInput());
            if (file != null) {
                resources.add(file);
            }
        } else {
            if (selection instanceof IStructuredSelection) {
                for (Iterator iterator = ((IStructuredSelection) selection)
                        .iterator(); iterator.hasNext();) {
                    Object object = iterator.next();
                    if (object instanceof IAdaptable) {
                        ITaskListResourceAdapter taskListResourceAdapter;
                        Object adapter = ((IAdaptable) object)
                                .getAdapter(ITaskListResourceAdapter.class);
                        if (adapter != null