1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

[ 279241] - fixed validation error when directory already exists, applied patch from Jens

This commit is contained in:
Alena Laskavaia 2009-09-01 12:43:04 +00:00
parent c180619310
commit 798392d7ee

View file

@ -211,10 +211,10 @@ import org.eclipse.cdt.internal.ui.CPluginImages;
if (f.exists()) {
if (f.isDirectory()) {
setMessage(UIMessages.getString("CMainWizardPage.7"), IMessageProvider.WARNING); //$NON-NLS-1$
return true;
} else {
setErrorMessage(UIMessages.getString("CMainWizardPage.6")); //$NON-NLS-1$
return false;
}
setErrorMessage(UIMessages.getString("CMainWizardPage.6")); //$NON-NLS-1$
return false;
}
} catch (CoreException e) {
CUIPlugin.log(e.getStatus());