int dotIndex= fileName.indexOf(NLSRefactoring.PROPERTY_FILE_EXT); if (dotIndex < 0 || fileName.lastIndexOf('.') != dotIndex) {
if (! fileName.endsWith(NLSRefactoring.PROPERTY_FILE_EXT)){
	private void validatePropertyFilename() {		String fileName= fPropertyFile.getText();		if (fileName == null || "".equals(fileName)) { //$NON-NLS-1$			setInvalid(fPropertyFile, NLSUIMessages.getString("wizardPage2.enter_name")); //$NON-NLS-1$			return;		}				int dotIndex= fileName.indexOf(NLSRefactoring.PROPERTY_FILE_EXT);		if (dotIndex < 0 || fileName.lastIndexOf('.') != dotIndex) {			setInvalid(fPropertyFile, NLSUIMessages.getString("wizardPage2.file_name_must_end") + NLSRefactoring.PROPERTY_FILE_EXT + "\"."); //$NON-NLS-2$ //$NON-NLS-1$			return;		}		setValid(fPropertyFile);	}