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
IDialogConstants.NO_ID,
                                IDialogConstants.CANCEL_ID };
                        labels = new String[] { IDialogConstants.YES_LABEL,
                                IDialogConstants.NO_LABEL,
                                IDialogConstants.CANCEL_LABEL };
                    }
                } else {
                    message = NLS.bind(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_overwriteQuestion, destination.getFullPath().makeRelative());
                }
                MessageDialog dialog = new MessageDialog(
                        shell,
                        IDEWorkbenchMessages.CopyFilesAndFoldersOperation_resourceExists,
                        null, message, MessageDialog.QUESTION, labels, 0);
                dialog.open();
                result[0] = resultId[dialog.getReturnCode()];
            }
        };
        shell.getDisplay().syncExec(query);
        return result[0];
    }
    /**
     * Recursively collects existing files in the specified destination path.
     * 
     * @param destinationPath destination path to check for existing files
     * @param copyResources resources that may exist in the destination
     * @param existing holds the collected existing files 
     */
    private void collectExistingReadonlyFiles(IPath destinationPath,
            IResource[] copyResources, ArrayList existing) {
        IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();