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
&& adapter instanceof ITaskListResourceAdapter) {
                            taskListResourceAdapter = (ITaskListResourceAdapter) adapter;
                        } else {
                            taskListResourceAdapter = DefaultMarkerResourceAdapter
                                    .getDefault();
                        }
                        IResource resource = taskListResourceAdapter
                                .getAffectedResource((IAdaptable) object);
                        if (resource != null) {
                            resources.add(resource);
                        }
                    }
                }
            }
        }
        IResource[] focus = new IResource[resources.size()];
        resources.toArray(focus);
        updateFocusResource(focus);
    }
    /**
     * 
     * @param resources
     */
    protected abstract void updateFilterSelection(IResource[] resources);
    
    protected abstract String getStaticContextId();
    void updateFocusResource(IResource[] resources) {
        boolean updateNeeded = updateNeeded(focusResources, resources);
        if (updateNeeded) {
            focusResources = resources;