Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties2
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java14
2 files changed, 5 insertions, 11 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
index 44304e59..33b7b2c1 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
@@ -186,7 +186,7 @@ MavenProjectPreferencePage_title=Maven
MavenProjectWizardArchetypePage_add_title=Add Archetype
MavenProjectWizardArchetypePage_all=All Catalogs
MavenProjectWizardArchetypePage_btnAdd=&Add Archetype...
-MavenProjectWizardArchetypePage_btnConfigure=Con&figure...
+MavenProjectWizardArchetypePage_btnConfigure=&Configure...
MavenProjectWizardArchetypePage_btnLast=&Show the last version of Archetype only
MavenProjectWizardArchetypePage_btnSnapshots=&Include snapshot archetypes
MavenProjectWizardArchetypePage_error_no=No archetypes currently available. The archetype list will refresh when the indexes finish updating.
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
index e5882f9d..77a9e3a4 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
@@ -66,12 +66,6 @@ import org.eclipse.m2e.core.ui.internal.editing.PomEdits.OperationTuple;
public class MavenModuleWizard extends AbstractMavenProjectWizard implements INewWizard {
private static final Logger LOG = LoggerFactory.getLogger(MavenModuleWizard.class);
- /** The name of the default wizard page image. */
- // protected static final String DEFAULT_PAGE_IMAGE_NAME = "icons/new_m2_project_wizard.gif";
-
- /** The default wizard page image. */
- // protected static final ImageDescriptor DEFAULT_PAGE_IMAGE = MavenPlugin.getImageDescriptor(DEFAULT_PAGE_IMAGE_NAME);
-
/** the parent page (#1) */
protected MavenModuleWizardParentPage parentPage;
@@ -267,14 +261,14 @@ public class MavenModuleWizard extends AbstractMavenProjectWizard implements INe
performOnDOMDocument(new OperationTuple(parentPom, new Operation() {
public void process(Document document) {
Element root = document.getDocumentElement();
- Element modules = getChild(root, "modules");
- if (findChild(modules, "module", textEquals(moduleName)) == null) {
- format(createElementWithText(modules, "module", moduleName));
+ Element modules = getChild(root, "modules"); //$NON-NLS-1$
+ if(findChild(modules, "module", textEquals(moduleName)) == null) { //$NON-NLS-1$
+ format(createElementWithText(modules, "module", moduleName)); //$NON-NLS-1$
}
}
}));
} catch(Exception e) {
- LOG.error("Cannot add module to parent POM", e);
+ LOG.error("Cannot add module to parent POM", e); //$NON-NLS-1$
}
}

Back to the top