Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2014-10-15 15:45:48 +0000
committerIgor Fedorenko2014-10-15 15:45:48 +0000
commitd4d419e25f375b5ee4916f23bf8e8f0d12cf8e92 (patch)
tree3ae9385567c80dc585e68c95fcd522fe7e358f26 /org.eclipse.m2e.core.ui
parent796e63741b8e0738b2b674f7fb5f81b18e3c1d72 (diff)
downloadm2e-core-d4d419e25f375b5ee4916f23bf8e8f0d12cf8e92.tar.gz
m2e-core-d4d419e25f375b5ee4916f23bf8e8f0d12cf8e92.tar.xz
m2e-core-d4d419e25f375b5ee4916f23bf8e8f0d12cf8e92.zip
447407 clear error messages in maven installation dialog
Change-Id: I62fd1272af3520c4f6cd7cf0ee330b378463d6bb Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.core.ui')
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/preferences/launch/MavenInstallationWizardPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/preferences/launch/MavenInstallationWizardPage.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/preferences/launch/MavenInstallationWizardPage.java
index f764ac51..20696ae6 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/preferences/launch/MavenInstallationWizardPage.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/preferences/launch/MavenInstallationWizardPage.java
@@ -384,6 +384,8 @@ public class MavenInstallationWizardPage extends WizardPage {
protected void updateStatus() {
setPageComplete(false);
+ setMessage(null);
+ setErrorMessage(null);
if(btnExternal.getSelection()) {
if(location.getText().trim().isEmpty()) {
@@ -407,7 +409,6 @@ public class MavenInstallationWizardPage extends WizardPage {
return;
}
- setMessage(null);
setPageComplete(true);
}

Back to the top