Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-02-14 09:47:40 +0000
committerMilos Kleint2011-02-14 09:47:40 +0000
commit562bc76d922a89ed66662b9875f54e2623b0c665 (patch)
tree6b600db114860344fd5445f2de652f078c513133 /org.eclipse.m2e.editor
parentc70650242334904f7cb52db8e33ae2d4439d4382 (diff)
downloadm2e-core-562bc76d922a89ed66662b9875f54e2623b0c665.tar.gz
m2e-core-562bc76d922a89ed66662b9875f54e2623b0c665.tar.xz
m2e-core-562bc76d922a89ed66662b9875f54e2623b0c665.zip
one step only
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/dialogs/ManageDependenciesDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/dialogs/ManageDependenciesDialog.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/dialogs/ManageDependenciesDialog.java
index 99a1827d..12d045b7 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/dialogs/ManageDependenciesDialog.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/dialogs/ManageDependenciesDialog.java
@@ -305,8 +305,7 @@ public class ManageDependenciesDialog extends AbstractMavenDialog {
if (same) {
performOnDOMDocument(new OperationTuple(current, new CompoundOperation(manage, removeVersion)));
} else {
- performOnDOMDocument(new OperationTuple(target, manage));
- performOnDOMDocument(new OperationTuple(current, removeVersion));
+ performOnDOMDocument(new OperationTuple(target, manage), new OperationTuple(current, removeVersion));
}
} catch(Exception e) {
LOG.error("Error updating managed dependencies", e);

Back to the top