Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-04-18 15:26:06 -0400
committerMatthew Piggott2011-04-18 18:01:09 -0400
commit26db6c0e1a9eca57603e12aefb1a424719e01cbf (patch)
treec55f88a9e15354ccc97b627e6cb65dbce7186d66 /org.eclipse.m2e.editor
parent93725cff28c664a9172e19e51b3f305f4918627e (diff)
downloadm2e-core-26db6c0e1a9eca57603e12aefb1a424719e01cbf.tar.gz
m2e-core-26db6c0e1a9eca57603e12aefb1a424719e01cbf.tar.xz
m2e-core-26db6c0e1a9eca57603e12aefb1a424719e01cbf.zip
EditDependencyDialog - unused code
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
index 739ddd30..df6cfd90 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
@@ -204,7 +204,7 @@ public class DependenciesComposite extends Composite {
if (selection instanceof Dependency) {
Dependency dependency = (Dependency) selection;
EditDependencyDialog d = new EditDependencyDialog(getShell(), false, editorPage
- .getProject(), editorPage.getPomEditor().getMavenProject(), editorPage.getPomEditor().getDocument());
+ .getProject(), editorPage.getPomEditor().getMavenProject());
d.setDependency(toApacheDependency(dependency));
if(d.open() == Window.OK) {
try {
@@ -409,7 +409,7 @@ public class DependenciesComposite extends Composite {
public void widgetSelected(SelectionEvent e) {
Dependency dependency = dependencyManagementEditor.getSelection().get(0);
EditDependencyDialog d = new EditDependencyDialog(getShell(), true, editorPage
- .getProject(), editorPage.getPomEditor().getMavenProject(), editorPage.getPomEditor().getDocument());
+ .getProject(), editorPage.getPomEditor().getMavenProject());
d.setDependency(toApacheDependency(dependency));
if(d.open() == Window.OK) {
try {

Back to the top