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/internal/ide/IDEApplication.java
* Return true if a valid workspace path has been set and false otherwise.
     * Prompt for and set the path if possible and required.
     * 
     * @return true if a valid instance location has been set and false
     *         otherwise
     */
    private boolean checkInstanceLocation(Shell shell) {
        
        Location instanceLoc = Platform.getInstanceLocation();
        if (instanceLoc == null) {
            MessageDialog
                    .openError(
                            shell,
                            IDEWorkbenchMessages.IDEApplication_workspaceMandatoryTitle,
                            IDEWorkbenchMessages.IDEApplication_workspaceMandatoryMessage);
            return false;
        }
        
        if (instanceLoc.isSet()) {
            
            
            if (!checkValidWorkspace(shell, instanceLoc.getURL()))
                return false;
            
            
            try {
                if (instanceLoc.lock()) {
                    writeWorkspaceVersion();
                    return true;
                }