Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-02-25 15:32:09 -0500
committerPascal Rapicault2011-02-25 15:32:09 -0500
commitbae1dcc87f1a48fc760722d69e0f2c1359dc6901 (patch)
tree7495f14195d218824b0929111ef1aa2aa29c9185
parentc1c1ad461360021d389271a501efd9745092757a (diff)
downloadm2e-core-bae1dcc87f1a48fc760722d69e0f2c1359dc6901.tar.gz
m2e-core-bae1dcc87f1a48fc760722d69e0f2c1359dc6901.tar.xz
m2e-core-bae1dcc87f1a48fc760722d69e0f2c1359dc6901.zip
338258 - Insert dependency does not correctly insert
-rw-r--r--org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/InsertArtifactProposal.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/InsertArtifactProposal.java b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/InsertArtifactProposal.java
index 418fabe0..719cb005 100644
--- a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/InsertArtifactProposal.java
+++ b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/InsertArtifactProposal.java
@@ -196,7 +196,7 @@ public class InsertArtifactProposal implements ICompletionProposal, ICompletionP
deps.appendChild(dependency);
}
if(DEPENDENCIES.equals(currentName)) {
- dependency = insertAt(doc.createElement(DEPENDENCIES), fOffset);
+ dependency = insertAt(doc.createElement(DEPENDENCY), fOffset);
}
if (toFormat == null) {
toFormat = dependency;

Back to the top