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
}
            }
            String linkedResourceMessage = validateLinkedResource(destination,
                    sourceResource);
            if (linkedResourceMessage != null) {
                return linkedResourceMessage;
            }
        }
        return null;
    }
    /**
     * Validates whether the destination location exists.
     * Linked resources created on undefined path variables have
     * an undefined location. 
     * 
     * @param destination destination container
     * @return error message or null if destination location is 
     * 	valid (non-<code>null</code>)
     */
    private String validateDestinationLocation(IContainer destination) {
        IPath destinationLocation = destination.getLocation();
        if (destinationLocation == null) {
            if (destination.isLinked()) {
                return NLS.bind(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_missingPathVariable, destination.getName());
            } else {
                return NLS.bind(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_resourceDeleted, destination.getName());
            }
        }
        return null;
    }