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/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
while (destinationParent.isEmpty() == false
                        && destinationParent.isRoot() == false) {
                    destinationFile = destinationParent.toFile();
                    if (sourceFile.compareTo(destinationFile) == 0) {
                        return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_destinationDescendentError;
                    }
                    destinationParent = destinationParent.removeLastSegments(1);
                }
            }
        }
        return null;
    }
    /**
     * Check if the destination is valid for the given source resource. 
     * 
     * @param destination destination container of the operation
     * @param source source resource
     * @return String error message or null if the destination is valid
     */
    private String validateLinkedResource(IContainer destination,
            IResource source) {
        if (source.isLinked() == false) {
            return null;
        }
        IWorkspace workspace = destination.getWorkspace();
        IResource linkHandle = createLinkedResourceHandle(destination, source);
        IStatus locationStatus = workspace.validateLinkLocation(linkHandle,
                source.getRawLocation());
        if (locationStatus.getSeverity() == IStatus.ERROR) {
            return locationStatus.getMessage();