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
List newSelection = new ArrayList(structuredSelection.size());
        for (Iterator i = structuredSelection.iterator(); i.hasNext();) {
            Object next = i.next();
            if (next instanceof IMarker) {
                ConcreteMarker marker = currentMarkers
                        .getMarker((IMarker) next);
                if (marker != null) {
                    newSelection.add(marker);
                }
            }
        }
        if (viewer != null)
            viewer.setSelection(new StructuredSelection(newSelection), reveal);
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.views.markers.internal.TableView#setContents(java.util.Collection)
     */
    void setContents(Collection contents, IProgressMonitor mon) {
        if (withinMarkerLimit(contents.size())) {
            super.setContents(contents, mon);
        } else {
            super.setContents(Collections.EMPTY_LIST, mon);
        }
    }
    protected MarkerList getVisibleMarkers() {
        return currentMarkers;
    }
    /**
     * Returns the total number of markers. Should not be called while the marker
     * list is still updating.